<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">I have a function in user_default which I would like to protect<br></div>
against naive users consuming all the memory.  It runs a loop building<br>
an accumulator which is a list of records.<br>
<br>
I could just use a guard of length(Acc) < ?MAXLEN however I don't<br>
really know how big the records are. I'd like to stop when too much<br>
memory is being used by Acc, or maybe the (shell) process.<br>
<br>
Any suggestions?<br>
<br>
-- <br>
     -Vance<br>
</div></div>