[dev] Unserialize/cache problems

Chuck Hagenbuch chuck at horde.org
Fri Mar 9 05:58:44 UTC 2007


Quoting Michael M Slusarz <slusarz at horde.org>:

> As an aside: my impetus for changing/fixing this was because I was
> getting out-of-memory errors when accessing large mailboxes.  I have
> been running lately with a 16M limit, and have had no other problems
> (this in and of itself indicates that all the changes we've been
> making lately in terms of memory usage is paying off).  Unfortunately,
> it looks like for at least modest data sizes (say 1 MB), the PHP gz
> functions are allocating at least 6x as much for memory, and
> subsequent calls do not use this same memory - more memory needs to be
> allocated.  This may be more of an issue with the way PHP calculates
> memory usage rather than actual memory usage, but it is irrelevant
> because it causes us to exceed the memory limit.

Interesting. Thanks for the notes/explanation.

Unfortunately I'm still seeing the fatal error when purging deleted  
messages. I had a bunch of other things showing up weird until I  
cleared my cache.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the dev mailing list