[Feature #2328] malloc_limit $B$NHnBg2=$rKI$.$?$$(B

Feature #2328: malloc_limit e$B$NHnBg2=$rKI$.$?$$e(B
http://redmine.ruby-lang.org/issues/show/2328

e$B5/I<<Te(B: _ wanabe
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: core, Target version: 1.9.x

e$B2?$i$+$N860x$Ge(B malloc_limit e$B$,HnBg2=$7$F$7$^$&$H!“e(BGC
e$B$N%?%$%_%s%0$,CY$l$Fe(B
Bug #1325 e$B$N$h$&$K0[>o$J$[$I$N%9%o%C%W$de(B NoMemoryError
e$B$r0z$-5/$3$7$+$M$^$;$s!#e(B
e$B2~A10F$H$7$F%Q%C%A$rFs$D=q$-$^$7$?!#$h$m$7$1$l$P$48!F$$/$@$5$$!#e(B
e$B$^$?!”$3$N%Q%C%A$,LdBj$K$J$k%1!<%9$,$“$l$P65$($F$$$?$@$1$k$H$”$j$,$?$$$G$9!#e(B

  1. vm_xrealloc() e$B$G$Ne(B malloc_increase
    e$B$N%A%'%C%/$*$h$SA}2CNL$NM^@)e(B

vm_xrealloc() e$B$G$O!“e(Bmalloc_increase
e$B$O>e8B%A%‘%C%/L5$7$GA}2C$7$F$*$j!"e(B
e$B$3$l$O>e5-$NLdBj$K$D$J$,$j$^$9!#e(B
e$BC1=c$Ke(B vm_xmalloc() e$B$HF1MM$N>e8B%A%’%C%/$r9T$&$He(B GC
e$B$,5/$3$j$9$.$k$N$G!“e(B
malloc_increase
e$B$NA}2CNL$r!”$=$l$^$G$NA}2CNL$NJ?6QCM!J$h$j$d$d>.$5$$CM!K$@$1e(B
e$BM^@)$9$k$3$H$G!”%a%b%j;HMQNL$N6a;wCM$r<h$j!"e(BGC
e$B2s?t$r8:$i$7$^$7$?!#e(B

  1. GC e$B$4$H$Ne(B malloc_limit e$B$ND>@\E*$J8:>/e(B

  2. e$B$NBP:v$r$H$C$F$b!"Nc$($Pe(B malloc_increase
    e$B$,>e8B$K6a$$$H$-$KBg$-$J%5%$%:$Ne(B
    malloc e$B$,$5$l$k$3$H$,B3$$$?>l9g!"e(Bmalloc_limit
    e$B$O8:>/$9$k$3$H$J$/A}2C$7B3$1$^$9!#e(B
    e$BKDBg$J%a%b%j$r;H$&>l9g$d%W%m%;%9$N<wL?$,D9$$>l9g$OFC$KC_@QNL$,Bg$-$$$H;W$o$l$^$9!#e(B
    e$B$3$NBP:v$H$7$F!"e(BGC e$B$N$?$S$Ke(B malloc_limit
    e$B$r2?3d$+$:$D8:$i$9$N$O$I$&$G$7$g$&$+!#e(B
    e$B%Q%C%A$G$Oe(B 1/16 e$B$[$I$NCM$r8:$i$7$F$$$^$9!#e(B

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:39632] [Feature #2328] malloc_limit
e$B$NHnBg2=$rKI$.$?$$e(B”
on Wed, 4 Nov 2009 08:28:12 +0900, _ wanabe [email protected]
writes:

|e$B2?$i$+$N860x$Ge(B malloc_limit e$B$,HnBg2=$7$F$7$^$&$H!“e(BGC e$B$N%?%$%_%s%0$,CY$l$Fe(B
|Bug #1325 e$B$N$h$&$K0[>o$J$[$I$N%9%o%C%W$de(B NoMemoryError e$B$r0z$-5/$3$7$+$M$^$;$s!#e(B
|e$B2~A10F$H$7$F%Q%C%A$rFs$D=q$-$^$7$?!#$h$m$7$1$l$P$48!F$$/$@$5$$!#e(B
|e$B$^$?!”$3$N%Q%C%A$,LdBj$K$J$k%1!<%9$,$“$l$P65$($F$$$?$@$1$k$H$”$j$,$?$$$G$9!#e(B

e$B;d$O;W$$$D$-$^$;$s!#%Y%s%A%^!<%/e(B(e$B$3$s$J%1!<%9$G$3$s$J$K2~A1e(B
e$B$H$+!“$3$s$J%1!<%9$G$O0-$/$J$i$J$$$H$+e(B)e$B$,$”$k$H:NMQ$7$d$9$$e(B
e$B$H;W$$$^$9!#e(B