[Swift-user] Java out of memory error

Jonathan Monette jonmon at mcs.anl.gov
Mon Apr 2 15:05:35 CDT 2012


You could also use the SWIFT_HEAP_MAX environment variable. Doing "export SWIFT_HEAP_MAX=1024M" will have the same effect as what David suggested but you do not have to modify the Swift shell script 

On Apr 2, 2012, at 14:58, David Kelly <davidk at ci.uchicago.edu> wrote:

> Lorenzo,
> 
> You can edit the 'swift' shell script and modify this line:
> 
> HEAPMAX=256M
> 
> The default of 256M is probably too low.. I set it to a default of 1024M in trunk. 
> 
> David
> 
> ----- Original Message -----
>> From: "Lorenzo Pesce" <lpesce at uchicago.edu>
>> To: swift-user at ci.uchicago.edu
>> Sent: Monday, April 2, 2012 2:51:02 PM
>> Subject: [Swift-user] Java out of memory error
>> Any idea?
>> 
>> Swift version 0.93 loaded
>> Swift 0.93 swift-r5483 cog-r3339
>> 
>> RunID: 20120402-1945-mix1mk13
>> Progress: time: Mon, 02 Apr 2012 19:45:30 +0000
>> Progress: time: Mon, 02 Apr 2012 19:45:54 +0000 Initializing:1
>> Progress: time: Mon, 02 Apr 2012 19:45:57 +0000 Initializing:17215
>> Selecting site:65
>> Progress: time: Mon, 02 Apr 2012 19:46:01 +0000 Selecting site:17280
>> Progress: time: Mon, 02 Apr 2012 19:46:31 +0000 Selecting site:17280
>> Progress: time: Mon, 02 Apr 2012 19:47:04 +0000 Selecting site:17280
>> Exception in thread "Progress ticker" java.lang.OutOfMemoryError: GC
>> overhead limit exceeded
>> at
>> org.griphyn.vdl.karajan.lib.RuntimeStats$ProgressTicker.getSummary(RuntimeStats.java:170)
>> at
>> org.griphyn.vdl.karajan.lib.RuntimeStats$ProgressTicker.printStates(RuntimeStats.java:194)
>> at
>> org.griphyn.vdl.karajan.lib.RuntimeStats$ProgressTicker.dumpState(RuntimeStats.java:159)^C
>> 
>> Exception in thread "Timer-0" java.lang.OutOfMemoryError: GC overhead
>> limit exceeded
>> ^CJava HotSpot(TM) 64-Bit Server VM warning: Exception
>> java.lang.OutOfMemoryError occurred dispatching signal SIGINT to
>> handler- the VM may need to be forcibly terminated
>> 
>> _______________________________________________
>> Swift-user mailing list
>> Swift-user at ci.uchicago.edu
>> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user



More information about the Swift-user mailing list