[racket] Limit command-line Racket's memory

From: Tony Garnock-Jones (tonyg at ccs.neu.edu)
Date: Mon Jun 13 17:54:17 EDT 2011

Hi Matthew,

On 2011-06-10 4:10 PM, Matthew Flatt wrote:
> Ok. I think it will be easier to work on base memory use using 3m.

I've changed the build script, and now 3M Racket seems to be working on 
the MIPS machine! The latest patches and build script are visible at
https://github.com/tonyg/racket/compare/master...openwrt and

It seems to be using even more memory than the Boehm variant, though :-/ 
and now will not even start the web server without a swapfile active.

>>> Finally, the GC can be tuned in various ways to reduce Racket's
>>> footprint.
>> Ah! Boehm or 3m?
> Both, but the knobs vary, and they're all internal right now. The main
> Boehm knob is the `GC_free_space_divisor' variable.

Any pointers to interesting knobs for tuning 3m's behaviour?


Posted on the users mailing list.