Re: Performance slow down because of cache method change

Bob Friesenhahn <[email protected]> Thu, 31 Mar 2005 09:58:05 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
On Thu, 31 Mar 2005, Stefan v. Wachter wrote:
> GraphicsMagick decides which method it uses. Is there a way to force 
> GraphicsMagick to use allways memory cache?

To answer this second question, GraphicsMagick provides a -limit 
option which may be used to apply resource limits.  Besides decreasing 
the estimated limits, it may be used to increase the limit.  There are 
matching environment variables: MAGICK_LIMIT_DISK, MAGICK_LIMIT_FILES, 
MAGICK_LIMIT_MEMORY, and MAGICK_LIMIT_MAP.

Setting the memory and map limits to extremely high values should 
ensure that memory is always used.  Note that when the memory used is 
larger than the machine's physical memory, then virtual memory is 
used, which results in system paging which may become "thrashing" 
under extreme conditions.

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