[ruby-core:62298] Re: [ruby-cvs:52906] nari:r45760 (trunk): * gc.c (gc_after_sweep): suppress unnecessary expanding heap.

From: Zachary Scott <e@...>
Date: 2014-05-02 19:49:09 UTC
List: ruby-core #62298
Please open a backport request if you feel so.

Good catch!

On May 2, 2014, at 12:41 PM, Eric Wong <normalperson@yhbt.net> wrote:

> nari@ruby-lang.org wrote:
>>  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45760
> 
>>    * gc.c (gc_after_sweep): suppress unnecessary expanding heap.
>>      Tomb heap pages are freed pages here, so expanding heap is
>>      not required.
> 
> This seems like an important fix and should be backported to 2.1, right?
> 
> I'm running r45777 on my server since ~12 hours ago with live traffic
> and memory usage is reduced drastically.  ~30M now, was 60-80M
> before, sometimes higher.

In This Thread