Description
Since upgrading to symfony 2.5 I've been experiencing heavy memory leaks during the test suite execution on my application.
We're using the client provided by symfony (WebTestCase) to do functional testing of the application, we have ~300 tests with ~1800 assertions and on symfony 2.4 the whole test suite finished in about 3 minutes while consuming only ~100mb of RAM. After upgrading to symfony 2.5 the test suite goes out of memory very soon, consuming more memory at every test. Using a memory_limit of 512mb it stops at about 20%.
I tried upgrading to symfony dev-master but the issue remains.
I set phpunit's processIsolation flag to true to mitigate the problem, but the test suite is very slow when run with that flag.
I'm not the only one who experienced this problem: https://groups.google.com/forum/#!topic/symfony2/IItwqezE_PY