<p>Indeed, I think to start with this would be very useful. Even if no other info is presented, it would certainly help to mitigate any memory issues as much as possible.</p>
<p>If nothing else the running script could act to reduce memory usage.</p>
<p>On 28 Sep 2010 00:44, "Charles Pritchard" <<a href="mailto:chuck@jumis.com">chuck@jumis.com</a>> wrote:<br><br>


  

<div text="#000000" bgcolor="#ffffff"><p><font color="#500050">On 9/27/10 3:30 PM, Rob Evans wrote:</font></p><blockquote type="cite"><p><font color="#500050"><br>><br>> I think one of the most useful things that a js script could know is how much memory is availab...</font></p>

On 27 Sep 2010 23:19, "timeless" <<a href="mailto:timeless@gmail.com" target="_blank">timeless@gmail.com</a>> wrote:<p><font color="#500050"><br>>><br>>><br>>> what exactly do you intend to do if you get such a signal?<br>
>><br>>> In general, this is mostl...</font></p></blockquote>
<br>
I'm just talking about the bare minimum:<br>
  sending a simple event window.dispatchEvent(lowmemory) <br>
No details / guarantees. It's just a hint.<br>
<br>
Mozilla has made efforts to handle low memory issues (allocation errors
or otherwise)<br>
mainly in the handling of image resources. I'd like to see the practice
become<br>
more widespread.<br>
<br>
<br>
<br>
</div>

</p>