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

From: Eric Wong <normalperson@...>
Date: 2014-05-02 19:41:26 UTC
List: ruby-core #62297
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

Prev Next