Re: [racket] Limit command-line Racket's memory

2011-06-14 Thread Tony Garnock-Jones
On 2011-06-14 10:43 AM, Matthew Flatt wrote: I'll look at your patches more soon. In cross-compiling mode, probably `configure' should just use whatever `racket' is installed rather than a specific path to some `rakcetcgc'. The reason for this is that OpenWRT doesn't depend much on what the sy

Re: [racket] Limit command-line Racket's memory

2011-06-14 Thread Matthew Flatt
At Mon, 13 Jun 2011 17:54:17 -0400, Tony Garnock-Jones wrote: > I've changed the build script, and now 3M Racket seems to be working on > the MIPS machine! Great! I'll look at your patches more soon. In cross-compiling mode, probably `configure' should just use whatever `racket' is installed rat

Re: [racket] Limit command-line Racket's memory

2011-06-13 Thread Tony Garnock-Jones
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/rac

Re: [racket] Limit command-line Racket's memory

2011-06-10 Thread Matthew Flatt
At Fri, 10 Jun 2011 14:51:00 -0400, Tony Garnock-Jones wrote: > Hi Matthew, everybody, > > On 2011-06-09 7:35 PM, Matthew Flatt wrote: > > Racket normally relies on memory limits imposed by the OS. > > After I posted my message, I thought to try ulimit. Unfortunately, it > didn't help: I couldn'

Re: [racket] Limit command-line Racket's memory

2011-06-10 Thread Tony Garnock-Jones
Hi Matthew, everybody, On 2011-06-09 7:35 PM, Matthew Flatt wrote: Racket normally relies on memory limits imposed by the OS. After I posted my message, I thought to try ulimit. Unfortunately, it didn't help: I couldn't find any setting smaller than all of available RAM within which Racket w

Re: [racket] Limit command-line Racket's memory

2011-06-09 Thread Matthew Flatt
At Thu, 09 Jun 2011 18:08:22 -0400, Tony Garnock-Jones wrote: > I'm running racket (from git) from the command-line on a machine with > 64MB RAM. The 3m collector is not (yet) supported on the machine - it's > a MIPS-based CPU. > > When I start the web-server, it loads and runs OK up until it tr

[racket] Limit command-line Racket's memory

2011-06-09 Thread Tony Garnock-Jones
Hi all, I'm running racket (from git) from the command-line on a machine with 64MB RAM. The 3m collector is not (yet) supported on the machine - it's a MIPS-based CPU. When I start the web-server, it loads and runs OK up until it tries to fork() for a (process*) call, at which point it fails