ruby-changes:31452
From: ko1 <ko1@a...>
Date: Tue, 5 Nov 2013 04:04:11 +0900 (JST)
Subject: [ruby-changes:31452] ko1:r43531 (trunk): * gc.c (GC_MALLOC_LIMIT_MAX): fix default value 512MB -> 384MB.
ko1 2013-11-05 04:04:06 +0900 (Tue, 05 Nov 2013) New Revision: 43531 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43531 Log: * gc.c (GC_MALLOC_LIMIT_MAX): fix default value 512MB -> 384MB. 512MB is huge. Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 43530) +++ ChangeLog (revision 43531) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Nov 5 04:03:07 2013 Koichi Sasada <ko1@a...> + + * gc.c (GC_MALLOC_LIMIT_MAX): fix default value 512MB -> 384MB. + 512MB is huge. + Tue Nov 5 03:31:23 2013 Koichi Sasada <ko1@a...> * gc.c: add 3gen GC patch, but disabled as default. Index: gc.c =================================================================== --- gc.c (revision 43530) +++ gc.c (revision 43531) @@ -93,7 +93,7 @@ rb_gc_guarded_ptr(volatile VALUE *ptr) https://github.com/ruby/ruby/blob/trunk/gc.c#L93 #define GC_MALLOC_LIMIT (16 /* 16 MB */ * 1024 * 1024 /* 1MB */) #endif #ifndef GC_MALLOC_LIMIT_MAX -#define GC_MALLOC_LIMIT_MAX (512 /* 512 MB */ * 1024 * 1024 /* 1MB */) +#define GC_MALLOC_LIMIT_MAX (384 /* 384 MB */ * 1024 * 1024 /* 1MB */) #endif #ifndef GC_MALLOC_LIMIT_GROWTH_FACTOR #define GC_MALLOC_LIMIT_GROWTH_FACTOR 2.0 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/