Image

Imagenomadphoenix wrote in Imagephp

To catch an error

Is there anyway to catch a memory_limit error? I've been digging through the php5 docs and trying to find anyone who has a similar problem with a better solution then increase the memory limit flag.

So far what I've worked out from the client is that the error happens on a call from our memcached wrapper when getting a cached item. What exactly is beyond anyone to figure out right now. It could be as simple as someone trying to cache a slew or jpgs or worse one of our classes coming back from __sleep with excess data from the last instance.