diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-27 08:45:45 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-27 08:45:45 +0000 |
commit | a31ff891a17f0dcf8c070b882fe89be89837e7c5 (patch) | |
tree | 1671c979ed8c9c8d487513d12b140cff417c1ea3 /gc.c | |
parent | 78a49728b2198db692cae1418601bf1b8c61cb08 (diff) | |
download | ruby-a31ff891a17f0dcf8c070b882fe89be89837e7c5.tar.gz |
* gc.c (GC_MALLOC_LIMIT): 8,000,000 -> 8 * 1,024 * 1,024.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ rb_gc_guarded_ptr(volatile VALUE *ptr) #define GC_HEAP_GROWTH_FACTOR 1.8 #endif #ifndef GC_MALLOC_LIMIT -#define GC_MALLOC_LIMIT 8000000 +#define GC_MALLOC_LIMIT (8 /* 8 MB */ * 1024 * 1024 /* 1MB */) #endif #ifndef GC_MALLOC_LIMIT_MAX #define GC_MALLOC_LIMIT_MAX (256 /* 256 MB */ * 1024 * 1024 /* 1MB */) |