Re: Re2: Performance slow down because of cache method change

Bob Friesenhahn <[email protected]> Thu, 31 Mar 2005 11:29:48 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
On Thu, 31 Mar 2005, Stefan v. Wachter wrote:

> Thanks, Bob, for your help!
> The increasing MVG vector string was the reason for the slow down in the 
> drawtest  sample program. But the slow down in our Tcl/Tk App using 
> GraphicsMagick (in a DLL) still existed.
> Calling ListMagickResources() showed :
> File    Memory       Map       Disk
> -----------------------------------
> 1536     894mb    3576mb  4194303gb
>
> This is quite reasonable for my machine with 512 MB RAM.

Ahhh, I was not aware that there was a second problem and thought that 
maybe a spam collector had eaten my reply mail. :-)

I suggest setting the MAGICK_DEBUG environment variable to 'resource'. 
This will cause every resource aquire/release event to be sent to 
wherever GM is configured to send its log messages.  Perhaps the 
perpetrator will be immediately apparent.

Bob
======================================
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30