On Wed, 2004-03-17 at 04:20, Joel VanderWerf wrote:
> Florian Frank wrote:
> > On Wed, 2004-03-17 at 03:26, Joel VanderWerf wrote:
> > 
> >>Hi, I've narrowed down a memory leak in my program to the extremely 
> >>simple C extension at:
> > 
> > 
> > Try str = nil before the second GC.start in your task.rb. ;)
> > 
> 
> Thanks, but that's not the problem. The long string that 'str' refers to 
> is already reported the first time around, and the leak is the 
> difference between the first report and the second. The string is only 
> 1Mb long, and the leak is around 8Mb.

Argh, you're correct. Your sz call grepped my "vim task.rb" instead of
task.rb. I just found out that it worked only when I edited the file,
strange...

-- 
_="puts'_='+_.inspect+';'+_";puts'_='+_.inspect+';'+_