General Problems for GC'ed Applications?

Sean Kelly sean at f4.ca
Sat Jul 29 08:40:24 PDT 2006


Karen Lanrap wrote:
> Walter Bright wrote:
> 
>> why not pick up the book
> 
> No, thanks. I am not interested in theoretical foundations.

No offense, but if you intend to criticize GC as a general technique, 
then it might be useful to do so from an informed perspective.


> I observed a nasty behaviour of the code I wrote for the contest 
> mentioned in <e9p2qg$18j8$1 at digitaldaemon.com>: heavily paging.
> 
> After detecting and eliminating the memory leak, which lowered the 
> "high water mark" from 2.2GB to 1.8GB (my machine holds 2GB of main 
> memory), that paging was gone.
> 
> I was puzzled why this could happen although a GC is used.

Perhaps it would help to look at the GC code?


Sean



More information about the Digitalmars-d mailing list