>> but "name=nil;GC.start",dont work

> If you mean that you then do not observe a memory drop the reason is
> that although the large string is eligible for collection there is no
> guarantee when it will be collected.  That's how automatic GC works -
> and is supposed to work.
> 
> Cheers
> 
> robert
"name=nil;GC.start" dont work:
I mean that then do not observe a memory drop.
And "name='1'*1;GC.start" it also works(observer a memory drop)

-- 
Posted via http://www.ruby-forum.com/.