NYCPHP Meetup

NYPHP.org

[nycphp-talk] memory problems

Rahmin Pavlovic rahmin at insite-out.com
Thu Jun 4 17:23:06 EDT 2009


On Jun 4, 2009, at 2:14 PM, John Campbell wrote:

> My guess is that you are not calling imagedestroy() after you are done
> with the image handle.  You have to manually free the memory with GD.

We're destroying each handle after we're done with it, so I'm not  
exactly sure where the leak is, but it looks like it was introduced  
after we added the resizing methods.  Might as well give ImageMagick a  
whirl.  (I'd post the script, but have to edit it significantly first.)



More information about the talk mailing list