At 03:41 AM 3/25/2008, [EMAIL PROTECTED] wrote:
>Date: Tue, 25 Mar 2008 10:40:50 +0000
>From: James Tucker <[EMAIL PROTECTED]>
>Subject: Re: [Mongrel] mongrel garbage collection
>To: mongrel-users@rubyforge.org
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset="us-ascii"
>[snip]
>Also, implicit OOMEs or GC runs quite often DO NOT affect the
>extensions correctly. I don't know what rmagick is doing under the
>hood in this area, but having been generating large portions of
>country maps with it (and moving away from it very rapidly), I know
>the GC doesn't do "The Right Thing".
>[snip]

Hi James,

My understanding with RMagick is that it is hooking the Imagemagick 
libs directly in process. As a result, memory is not always freed when 
you'd expect it to be. I haven't read up on the details, having chosen 
to just use out of process image management, but you might find this 
link interesting - in it, there is a claim that the latest releases of 
RMagick do *not* in fact leak any memory and that running a full GC 
manually will reclaim all memory it uses after the references are out 
of scope.

http://rubyforge.org/forum/forum.php?thread_id=1374&forum_id=1618

Steve



_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to