From: Tridib Bandopadhyay Date: 2011-05-19T07:43:56+09:00 Subject: Re: Manual Memory Management and Automatic Garbage Collection Robert K. wrote in post #999427: > On Tue, May 17, 2011 at 9:58 PM, Tridib Bandopadhyay > wrote: >> I have some questions::-- >> >> 1. Is it possible to Manually free memory(without calling GC.start) by >> extending it with C? As i have tried it and its of no use for my work. >> >> 2. Can I add a new file and try to manually free memory(disabling GC)? > > I am sure, both can be achieved with an amount of hacking Ruby's > source code. So: yes and yes. What do you mean by Hacking Ruby's Code... I didn't get it.. Can you describe me in Detail. > > What I do not understand: what is the aim of your research? I mean, > people have spent numerous hours of research and engineering to make > automatic GC work, and you seem to be mainly concerned with adding > manual memory management to a language which has automatic GC. What > is the point of your research? > > Kind regards > > robert Yeah i know that.. But since Ruby is Using Stop the World concept. So I was thinking of not letting the GC to come and free memory every time for small objects,Stopping the code. So I just want to check if it can be helpful or not... Thanks... Regards Tridib -- Posted via http://www.ruby-forum.com/.