[Pharo-project] react on low space

Max Leske maxleske at gmail.com
Tue Feb 1 12:00:43 CET 2011


I'm bumping this message. I think it's an important question and could help other developers who might have the same problem one day. The low space watcher is cool but if you don't get the chance to actually look at the stack it's pretty useless.

Max

On 30.01.2011, at 13:10, Max Leske wrote:

> Hi guys
> 
> Is there an easy way to react on low space? Something like:
> 
> SmalltalkImage isSpaceLow
> 	ifTrue: [ <suspend my process> ]
> 
> The reason I'm asking is that I have a background process running that causes a low space condition but I never get around to opening the debugger and the image crashes on me. So for debugging purposes I'd like to periodically check the space that is left or alternatively be notified if low space is signalled.
> 
> Any ideas?
> 
> Thanks,
> Max

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20110201/90b7c71e/attachment.htm>


More information about the Pharo-project mailing list