* 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
This commit is contained in:
parent
325d2cfcdf
commit
5ba523967e
@ -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.
|
||||
|
2
gc.c
2
gc.c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user