diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-04 19:04:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-04 19:04:06 +0000 |
commit | 5ba523967ec02f9abed15a219f776c3242e0e742 (patch) | |
tree | 10fb1de7d2b1f30e1ea75e97578d1f885eea70a8 | |
parent | 325d2cfcdfd2beeca4aa45368276d2f2c928ae59 (diff) | |
download | ruby-5ba523967ec02f9abed15a219f776c3242e0e742.tar.gz |
* gc.c (GC_MALLOC_LIMIT_MAX): fix default value 512MB -> 384MB.
512MB is huge.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gc.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Nov 5 04:03:07 2013 Koichi Sasada <ko1@atdot.net> + + * gc.c (GC_MALLOC_LIMIT_MAX): fix default value 512MB -> 384MB. + 512MB is huge. + Tue Nov 5 03:31:23 2013 Koichi Sasada <ko1@atdot.net> * gc.c: add 3gen GC patch, but disabled as default. @@ -93,7 +93,7 @@ rb_gc_guarded_ptr(volatile VALUE *ptr) #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 |