We're currently having issues with memory leaks when using unit tests with Symfony 1.x to the magnitude of a decent number of tests eating 512MB of memory.Currently we've tried:
- Using a phpunit plugin
- Using lime
- Restricting the tests to a few sfPropelData loads + functional tests repeated a few times
- Switching to PHP 5.3.3 to handle circular references
- Inspecting memory usage xdebug which didn't give much insight
- Only the functional tests
- Replacing sfPropelData instead loading plain SQL files
- Only functional tests without any ORM calls
- Valgrind?