From: Tridib Bandopadhyay Date: 2010-12-11T01:58:19+09:00 Subject: Re: Manual Memory Management and Automatic Garbage Collection Jeremy Bopp wrote in post #967674: > On 12/10/2010 09:37 AM, Tridib Bandopadhyay wrote: >> >> Garbage collector comes for cleaning with a printf statement stating its >> work. > > Maybe there are optimizations for String objects that circumvent parts > of regular garbage collection. Have you tried looking at the memory > consumption of your ruby process as you run the while loop? Is memory > usage growing over time, or does it plateau at some point? > The plateau is at the same point.Even if I ran the code for at-least half and Hour. > > Another suggestion would be to pick up a template library such as erb > and use that to process some large template files with random data > repeatedly. That should hopefully cause some memory growth with > something more than simple strings. > Sorry..I didn't understand this part.. Regards Tridib -- Posted via http://www.ruby-forum.com/.