From: Travis D Warlick Jr Date: 2007-07-17T09:53:31+09:00 Subject: Re: How to reclaim memory without GC.start Lionel Bouton wrote: > Actually, as variable affectation is done by reference I knew that... woops... **beats head on keyboard** However, A chance to redeem myself: I remembered that IO#read returns a string, so change the while to: while buffer[0...512] = file.read(512) That should overwrite the contents of the buffer -- Travis Warlick "Programming in Java is like dealing with your mom -- it's kind, forgiving, and gently chastising. Programming in C++ is like dealing with a disgruntled girlfriend -- it's cold, unforgiving, and doesn't tell you what you've done wrong."