Open DougBurke opened 13 years ago
The OutOfMemoryError is a known problem, and I think the rest of us have had it at some point (but before we started tracking issues). It can be fixed by explicitly providing the heap size in the command:
java -Xmxn####m -Xmx####m -jar MyApp.jar
This is what the java man file says about these commands:
-Xmsn :: Specifies the initial size of the memory allocation pool. This value must be a multiple of 1024 greater than 1 MB. Append the letter k or K to indicate kilobytes, the letter m or M to indicate megabytes, the letter g or G to indicate gigabytes, or the letter t or T to indicate terabytes. The default value is 2MB. Examples:
-Xms6291456
-Xms6144k
-Xms6m
-Xmxn :: Specifies the maximum size, in bytes, of the memory allocation pool. This value must be a multiple of 1024 greater than 2 MB. Append the letter k or K to indicate kilobytes, the letter m or M to indicate megabytes, the letter g or G to indicate gigabytes, or the letter t or T to indicate terabytes. The default value is 64MB. Examples:
-Xmx83886080
-Xmx81920k
I'm not sure if there's a way to specify a default maximum heap size without explicitly stating it in the start command.
Kayleigh, Yeah, you need to use both the -Xms/-Xmx flags. I believe the default is 64mb (oh yeah, it says it above).
This happened on obsid 435 out of 68020 so it could be fun getting the correct value.
newmast/mast_obsvload.py
failed during an IUE run withwhich appears to be because sesame has run out of stack space since we get from the
java -jar start.jar
process: