From: Mathieu Bouchard Date: 2001-12-22T03:27:43+09:00 Subject: [ruby-talk:29249] Re: memory management On Fri, 21 Dec 2001, Daniel P. Zepeda wrote: > resources, about 118 MB, when I ran a=b=c=nil; GC.start, irb's memory > usage went down to around 2 MB. Obviously ruby is somehow returning > the memory to the underlying OS. Is this Ruby, or irb or the OS itself > that is allowing the OS to reclaim the memory from irb? in glibc, malloc(n) with n>=32k are allocated separately using mmap(). maybe the threshold is 128k; i don't recall. ________________________________________________________________ Mathieu Bouchard http://hostname.2y.net/~matju