NYCPHP Meetup

NYPHP.org

[nycphp-talk] silent failure with PHPUnit and Zend Framework

Rob Marscher rmarscher at beaffinitive.com
Fri Sep 24 11:23:45 EDT 2010


On Sep 24, 2010, at 10:40 AM, David Mintz wrote:
> Still getting this rude behavior. I might try posting to the ZF list. I think it's conceivable that something in ZF is squandering memory, even though PHP is supposed to manage memory for us. I will also try upgrading my ZF.
> 
> If I ever get to the bottom, I'll be sure to let you know (-:

You could also try upgrading phpunit to 3.5 if you're not there already.  I believe there we memory usage enhancements in that version.  I also recently noticed one of my classes suffered from a "memory leak" due to circular references.  The problem (and a solution) is described here http://paul-m-jones.com/archives/262  It's possible that ZF is affected by this.  In my testing, I saw more recent versions of php would kick in some garbage collection periodically and reduce some memory, but it's still way higher memory usage than it should be.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20100924/aa2a63c2/attachment.html>


More information about the talk mailing list