[ruby-cvs:50898] ko1:r43755 (trunk): * gc.c: enable "RGENGC_ESTIMATE_OLDSPACE" option as default.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Nov 21 17:20:35 JST 2013


ko1	2013-11-21 17:20:34 +0900 (Thu, 21 Nov 2013)

  New Revision: 43755

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43755

  Log:
    * gc.c: enable "RGENGC_ESTIMATE_OLDSPACE" option as default.
      Without this option, some application consumes huge memory.
      (and there are only a few performance down)
      Introduced new environment variables:
      * RUBY_GC_HEAP_OLDSPACE (default 16MB)
      * RUBY_GC_HEAP_OLDSPACE_MAX (default 128 MB)
      * RUBY_GC_HEAP_OLDSPACE_GROWTH_FACTOR (default 1.2)
    * gc.c (initial_malloc_limit): rename to initial_malloc_limit_min.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list