[racket] call-with-limits not failing gracefully

From: J. Ian Johnson (ianj at ccs.neu.edu)
Date: Wed Oct 31 13:58:08 EDT 2012

My bad, not reading the spec carefully. Should have installed a handler for exn:fail:resource.
-Ian
----- Original Message -----
From: "Matthew Flatt" <mflatt at cs.utah.edu>
To: "J. Ian Johnson" <ianj at ccs.neu.edu>
Cc: "users" <users at racket-lang.org>
Sent: Wednesday, October 31, 2012 12:42:48 PM GMT -05:00 US/Canada Eastern
Subject: Re: [racket] call-with-limits not failing gracefully

Is there a memory limit that does work? That is, does a 1GB limit work?
2GB? 500MB?

At Wed, 31 Oct 2012 08:26:45 -0400 (EDT), "J. Ian Johnson" wrote:
> I have a 64-bit machine and OS with 16GB RAM. I have some benchmarks that I 
> want to time out after an hour or die if they use 4GB memory.
> 
> Unfortunately, the entire VM dies with OOM instead of carrying on. I'm running 
> from the terminal. Is there some other option I need to pass to not limit the 
> VM's overall memory? Xubuntu has as default that processes can use as much 
> memory as they want, last time I checked.
> 
> Thanks,
> -Ian
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.