<p>Argh, sorry, I read the docs for the wrong one, sorry for the misleading response.</p>
<p>Carl Eastlund</p>
<p>--<br>
WARNING! Poorly-typed cell phone email precedes.</p>
<div class="gmail_quote">On Sep 9, 2013 12:16 PM, "J. Ian Johnson" <<a href="mailto:ianj@ccs.neu.edu">ianj@ccs.neu.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I changed it to (call-with-limits (* 30 60) 2048 (lambda () <run-analysis>)) for a sanity check, which I thought with-limits was just a macro for. Same problem. The execution takes at least 20 seconds to get to 15GiB, so it can't be just that GC isn't running in order for the custodian to notice the usage over the limit.<br>
-Ian<br>
----- Original Message -----<br>
From: "Carl Eastlund" <<a href="mailto:carl.eastlund@gmail.com">carl.eastlund@gmail.com</a>><br>
To: "J. Ian Johnson" <<a href="mailto:ianj@ccs.neu.edu">ianj@ccs.neu.edu</a>><br>
Cc: "dev" <<a href="mailto:dev@racket-lang.org">dev@racket-lang.org</a>><br>
Sent: Monday, September 9, 2013 12:05:21 PM GMT -05:00 US/Canada Eastern<br>
Subject: Re: [racket-dev] call-with-limits memory bound isn't actually bounding memory usage<br>
<br>
<br>
<br>
Does <run-analysis> have the form (lambda () <actually-run-analysis>)? Because if not, that's the problem.<br>
<br>
Carl Eastlund<br>
<br>
--<br>
WARNING! Poorly-typed cell phone email precedes.<br>
On Sep 9, 2013 11:55 AM, "J. Ian Johnson" < <a href="mailto:ianj@ccs.neu.edu">ianj@ccs.neu.edu</a> > wrote:<br>
<br>
<br>
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?<br>
<br>
Running 5.90.0.9<br>
-Ian<br>
_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
<br>
</blockquote></div>