[Tickets #5315] Re: Horde_Image_gd code hits memory limit on large images

bugs at bugs.horde.org bugs at bugs.horde.org
Wed May 2 08:10:07 UTC 2007


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

Ticket URL: http://bugs.horde.org/ticket/?id=5315
-----------------------------------------------------------------------
 Ticket             | 5315
 Updated By         | vilius at lnk.lt
 Summary            | Horde_Image_gd code hits memory limit on large images
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Feedback
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


vilius at lnk.lt (2007-05-02 01:10) wrote:

Ghmm, I tried to load this message into Outlook Express and into
Thunderbird and seems like you are right. Both clients started to consume
>300Mb of virtual memory.

However when I tried to open the same image in IrfanView it consumed
~104Mb. Does this mean that most email programs (including GD library)
just loads raw code into memory without any optimizations? I wonder what
could be done in such cases. Try to hack GD library to limit picture
size?

P.S. I also noticed that _getHordeImageObj() is called twice for every
image attachment. Could this also be the problem?



More information about the bugs mailing list