PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Images » Image_Graph » Bug #3958

Memory leaks in Image_Graph 0.3.0-alpha

Details

Submitted2005-03-25 11:51 UTC
Frombrice dot joly at free dot fr
Assignednosey
StatusNo Feedback
PackageImage_Graph
PHP Version4.3.10
OSLinux/Red Hat 7.2
Roadmaps(Not assigned)

Comments

[2005-03-25 11:51 UTC] brice dot joly at free dot fr

Description:
------------
I have found out Image_Graph 0.3.0-alpha has some memory leaks, one of which is a big stopper : GD Image object isn't destroyed, which leads to some 800KB memory per image that can never be freed. (Note: this has been fixed in CVS).

There's a smaller memory leak (approximately 30KB/image), which I wasn't able to track down. (Note: this does not seem to be fixed in CVS yet).

Regards,
Brice Joly

[2005-03-26 22:07 UTC] pear dot nosey at veggerby dot dk

As you state, parts of this has already been fixed in CVS.

Maybe it's a stupid question, but how do you test this? And please provide your test-code, maybe it could help "narrow" it in (unless it's entirely general?)

Regards
Jesåer