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

bugs at horde.org bugs at horde.org
Tue Mar 11 10:23:34 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/6403
-----------------------------------------------------------------------
 Ticket             | 6403
 Updated By         | Gunnar Wrobel <p at rdus.de>
 Summary            | Halve Kolab's Freebusy memory usage
 Queue              | Kolab
 Type               | Enhancement
 State              | Assigned
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | Gunnar Wrobel
+New Attachment     | HK-GW-freebusy_improve.patch
-----------------------------------------------------------------------


Gunnar Wrobel <p at rdus.de> (2008-03-11 06:23) wrote:

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

Makes sense. Thanks! In CVS.

I didn't trace this stuff before so now that I looked at it I'd like to
suggest the attached patch in addition to your fix. Can you check it on
your side?

There is probably more potential to get the thing less memory/cpu time
hungry.

>
> 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