NYCPHP Meetup

NYPHP.org

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

Chuck Reeves chuck.reeves at gmail.com
Fri Sep 24 10:42:31 EDT 2010


If you run the site outside of phpunit, do you still get the memory error?

Thank You
Chuck Reeves
Cell: 631-374-0772
Email: chuck.reeves at gmail.com


On Fri, Sep 24, 2010 at 10:40 AM, David Mintz <david at davidmintz.org> wrote:

>
>
> On Thu, Sep 23, 2010 at 1:27 PM, Rob Marscher <rmarscher at beaffinitive.com>wrote:
>
>> On Sep 23, 2010, at 12:44 PM, David Mintz wrote:
>> > Gee, this is interesting:
>> >
>> > david at interps3:/opt/www/shitou/tests$ phpunit -d memory_limit 256M
>> --verbose
>> >
>> > Fatal error: Allowed memory size of 262144 bytes exhausted (tried to
>> allocate 4864 bytes) in
>> /usr/share/downloads/ZendFramework-1.10.4/library/Zend/Application.php on
>> line 237
>>
>> Oops, sorry, just realized that's not quite right.  Have to do phpunit -d
>> memory_limit=256M.  Sorry.
>>
>>
>>
>> _______________________________________________
>> New York PHP Users Group Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> http://www.nyphp.org/Show-Participation
>>
>
>
> 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 (-:
>
> Thanks much for the help.
>
>
> --
> David Mintz
> http://davidmintz.org/
> It ain't over:
> http://www.healthcare-now.org/
>
>
>
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20100924/cfb9103f/attachment.html>


More information about the talk mailing list