[Swift-devel] behaviour on out-of-memory

Mihael Hategan hategan at mcs.anl.gov
Fri Feb 8 11:11:13 CST 2008


Yep. Hard problem. In general, OOMs are tricky to handle. I was thinking
of pre-allocating some space to use in such cases for clean shutdown,
but given the concurrency, this may or may not work properly.

On Fri, 2008-02-08 at 16:18 +0000, Ben Clifford wrote:
> On my laptop when I run swift with so many jobs that it runs out of 
> memory, it gives the below errors and hangs. It doesn't seem to exit. 
> That's icky for using this in any automated environment.
> 
> $ swift -tc.file ./tc.data -sites.file ./sites.xml badmonkey.swift  
> -goodmonkeys=10000
> Swift v0.3-dev r1609 (modified locally)
> 
> RunID: 20080208-1015-5h5huekc
> Exception in thread "Worker 0" Exception in thread "Timer-0" Exception in 
> thread "Worker 2" java.lang.OutOfMemoryError: Java heap space
> Exception in thread "Worker 3" java.lang.OutOfMemoryError: Java heap space
> Exception in thread "Worker 1" java.lang.OutOfMemoryError: Java heap space
> 
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> 




More information about the Swift-devel mailing list