Page 1 of 2

Crashing when porting to Providence

PostPosted: Sat Nov 01, 2014 1:18 pm
by Cheena
So that's the second time I've crashed while porting to providence. I did nothing while loading yet still crashed.

java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:420)
at haven.HavenPanel.run(HavenPanel.java:455)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space

Also before the patch the java processes weren't stacking anymore, but now it's back.

Dunno if it's related to Latikai's or to basic client.

Re: Crashing when porting to Providence

PostPosted: Sat Nov 01, 2014 2:49 pm
by Kandarim
it's related to my client :(

Re: Crashing when porting to Providence

PostPosted: Sat Nov 01, 2014 3:13 pm
by Cheena
Noooooo *cries a lot*

Re: Crashing when porting to Providence

PostPosted: Sun Nov 02, 2014 6:14 am
by MagicManICT
So load up the default client for going to Boston (I know some of the extras there may be very useful if it's a shopping trip), and use the custom client for working around your base?

Re: Crashing when porting to Providence

PostPosted: Sun Nov 02, 2014 11:59 am
by Cheena
I suppose I'll do that, but changing clients each time I have to give something to someone sounds... terrible :D
Because yeah, I actually never go to Providence if it's not because someone called me for some reason. Shopping is just 1% of my time in there.

Re: Crashing when porting to Providence

PostPosted: Sun Nov 02, 2014 12:35 pm
by Kandarim
for what it's worth, switching to 64 bit java should help a ton on the heap space crashes.

Re: Crashing when porting to Providence

PostPosted: Sun Nov 02, 2014 9:37 pm
by loftar
Kandarim wrote:for what it's worth, switching to 64 bit java should help a ton on the heap space crashes.

Pointers being twice the size would just make it worse for the same heap size, I would think. ;)

Re: Crashing when porting to Providence

PostPosted: Sun Nov 02, 2014 9:39 pm
by Kandarim
you would think so, but for some people that actually helped.
It may just have been the updated java version that came with it, i guess

Re: Crashing when porting to Providence

PostPosted: Sun Nov 02, 2014 10:01 pm
by loftar
Do you not specify a heap size in the JNLP? If that is the case, then I could imagine that 64-bit Java allocates a larger heap by default.

Didn't VisualVM's heapdumps help you figure out your memory leak, btw? I thought you said it did.

Re: Crashing when porting to Providence

PostPosted: Sun Nov 02, 2014 10:29 pm
by JohnCarver
ITT Loftar makes fun of Kandarims Heap Dumps.