2010/12/23 KOSAKI Motohiro <kosaki.motohiro / gmail.com>:
>> Similar technique might be relevant in MRI 1.9 if fiber/continuation stacks
>> are also not freed until GC.
>>
>> On 12/22/10 11:32 PM, Kurt Stephens wrote:
>>>
>>> http://code.google.com/p/rubyenterpriseedition/issues/detail?id=57
>>>
>>> Helps reduce memory usage for short-lived Threads that might not be GC
>>> fast enough.
>>>
>>> Might be relevant to other MRI builds with the fast-thread.patch.
>
> FWIW, Recent linux glibc malloc has some optimization for it. Can you try
> recent glibc + 64bit linux combination?

And, MALLOC_MMAP_THRESHOLD_ might help you even if you are using old
distribusions.
I guess.