[plt-scheme] The memory limit in DrScheme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue May 29 18:19:45 EDT 2007

At Tue, 29 May 2007 13:53:28 +0200, Jens Axel Søgaard wrote:
> My conclusion is that the memory limit works - but that
> I need help to find the greatest upper limit not crashing
> DrScheme.

I must admit that I don't know how to find the right limit. I
especially don't know how to do it automatically, which is why there's
no default limit in DrScheme.

Jos Koot wrote:
> http://bugs.plt-scheme.org/query/?cmd=view&pr=8648

A paranoid GC may be to blame for this kind of problem. The collector
wants to make sure that it has plenty of memory available to perform a
collection, and it conservatively estimates that it will need as much
memory as currently allocated to perform a collection; it gives up in
cases when it shouldn't. This initial factor of 2 is overkill by a lot,
and we can tune it.


Posted on the users mailing list.