[Tickets #6403] Halve Kolab's Freebusy memory usage

bugs at horde.org bugs at horde.org
Sat Mar 8 09:28:35 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6403
-----------------------------------------------------------------------
 Ticket             | 6403
 Created By         | thomas.jarosch at intra2net.com
 Summary            | Halve Kolab's Freebusy memory usage
 Queue              | Kolab
 Type               | Enhancement
 State              | New
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
+New Attachment     | framework-kolab-fix-freebusy-memusage.patch
-----------------------------------------------------------------------


thomas.jarosch at intra2net.com (2008-03-08 04:28) wrote:

Hello together,

attached patch almost halves Kolab's freebusy memory usage.
10.000 events now use 25mb instead of 44mb.

I also experimented with splitting "$objects = store->getObjects()"
into "$ids = store->getObjectIds(); foreach($object =
store->getObjectById())"
but it turned out to be slower and PHP5 seems to implement
copy-on-write as it didn't make a difference from a memory usage point of
view.

I did some whitespace cleanup while I was at it...

Cheers,
Thomas

PS: I almost queued this one for the framework package again ;-)




More information about the bugs mailing list