From: Tridib Bandopadhyay Date: 2010-12-07T13:54:28+09:00 Subject: Re: Manual Memory Management and Automatic Garbage Collection Walton Hoops wrote in post #966746: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899-bash-3.00$ > Most likely Garbage Collection is not being run for your (rather short) > script. Does your message print when you run GC.start()? If so your > message is working fine. Try writing something that creates a log of > garbage to be collected. I think something like: > > i=1 > while (true) > puts "message #{i}" > i+=1 > end > > should do the trick. Of course, that particular program will never > exit. Yes When I can see my message when I run my GC.start().So When does the garbage collector comes into play?.When we call them or isn't it automatic after each object declaration it will always come for cleaning. But can't I see the message when I am running a program of my own. Secondly how does the make command do interpret the gc.c file into *.ext?Is there any mechanism?. Regards Tridib -- Posted via http://www.ruby-forum.com/.