[racket-dev] call-with-limits memory bound isn't actually bounding memory usage

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Sep 9 13:56:17 EDT 2013

I assumed that when you wrote "the framework" you were referring to the
library you get by (require framework), but perhaps you weren't?

Robby


On Mon, Sep 9, 2013 at 12:29 PM, J. Ian Johnson <ianj at ccs.neu.edu> wrote:

> I don't use the gui framework at all. This is all just pounding on global
> hash-tables and vectors. Or are you talking about the sandbox queuing up
> callbacks?
> -Ian
> ----- Original Message -----
> From: "Robby Findler" <robby at eecs.northwestern.edu>
> To: "J. Ian Johnson" <ianj at ccs.neu.edu>
> Cc: "dev" <dev at racket-lang.org>
> Sent: Monday, September 9, 2013 1:16:51 PM GMT -05:00 US/Canada Eastern
> Subject: Re: [racket-dev] call-with-limits memory bound isn't actually
> bounding memory usage
>
>
> The framework will, sometimes do stuff that queues callbacks and,
> depending on how you've set up other things, the code running there might
> escape from the limit. Did you try putting the eventspace under the limit
> too?
>
> Robby
>
>
>
> On Mon, Sep 9, 2013 at 10:54 AM, J. Ian Johnson < ianj at ccs.neu.edu >
> wrote:
>
>
> I'm running my analysis benchmarks in the context of (with-limits (* 30
> 60) 2048 <run-analysis>), and it's been good at killing the process when
> the run should time out, but now I have an instantiation of the framework
> that just gobbles up 15GiB of memory without getting killed. What might be
> going on here?
>
> Running 5.90.0.9
> -Ian
> _________________________
> Racket Developers list:
> http://lists.racket-lang.org/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130909/bb95fce2/attachment.html>

Posted on the dev mailing list.