Closed ezimuel closed 5 years ago
I'm working on the test part because the first approach, using fixed max memory usage, seems not working properly. I need to figure out a way to test the differential growth between tests.
@webimpress Please stop playing the style police before the real problem isn't resolved. Thanks! 😃
@froschdesign As you see my comments were added before @ezimuel said it's not working properly. As he pushed and opened PR I thought it's done and ready for review. Sorry.
@froschdesign I'm sorry was my mistake, I put the WIP label after the @webimpress comments. Thanks @webimpress for your review, you beat me on time :)
@webimpress Travis was not finished! It would be good, if you can wait until the problem of the issue is resolved.
@froschdesign As I said, PR was not marked as WIP, PR was pushed and opened. See above comment of @ezimuel and stop harassing me, please.
Folks, let's control the tone a bit - fairly sure that everyone is just doing their best to achieve the goal of better stability, let's not assume malice from either side, please :P
@webimpress, @froschdesign I just updated the PR, now it seems to work fine. I did a double tests for PHP 5.6 and PHP 7+. With 5.6 the PHP interpreter uses some bytes from test to test. With PHP 7+ the memory allocation is always zero. Please review now, thanks!
This PR fixes the memory leak reported in https://github.com/zendframework/zend-test/issues/69