From: Hugh Sasse Date: 2007-09-29T03:54:38+09:00 Subject: Re: gc.c -- possible logic error? On Sat, 29 Sep 2007, Hugh Sasse wrote: > On Sat, 29 Sep 2007, Yukihiro Matsumoto wrote: > > > Hi, > > > > In message "Re: gc.c -- possible logic error?" > > on Fri, 28 Sep 2007 21:57:22 +0900, Hugh Sasse writes: > > > > |OK, but heaps_used should never get to be negative, should it?. True, I [...] > > > > It's not uncommon among C programs to use signed int for positive only > > values, if INT_MAX (2147483647) is big enough, and I think it is, for > > this case. > > OK, though with machines having memory at about 3 GB these days, > I can see that changing. > > > > I don't think the patch will solve the leak problem, but if it would, > > I'd love to merge the fix in. > > OK, I'll give this a try and let you know what happens. Thank you. Done this. All ruby tests pass OK, but it doesn't solve the memory leak (the process only reaches 13MB that I tried). > > > > matz. > > > Thank you, Hugh > >