Page 1 of 1

freeze and crash

PostPosted: Mon Aug 19, 2013 7:15 pm
by adipw
my char regularly freeze, and every few hour it crash.
I use java version 1.6.0-b 105. and ender mod
my comp spec:
-i5 2400 3.10ghz
-windows 7 64 bit
-GeForce GTX 460 SE
-8g RAM
error report :
java.lang.RuntimeException: haven.GOut$GLOutOfMemoryException: GL Error: 1285 (out of memory)
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:100)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205)
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:483)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:394)
at haven.HavenPanel.run(HavenPanel.java:426)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.GOut$GLOutOfMemoryException: GL Error: 1285 (out of memory)
at haven.GOut.glexcfor(GOut.java:99)
at haven.GOut.checkerr(GOut.java:107)
at haven.FastMesh.draw(FastMesh.java:151)
at haven.RenderList.render(RenderList.java:209)
at haven.RenderList.render(RenderList.java:220)
at haven.PView.draw(PView.java:169)
at haven.MapView.draw(MapView.java:894)
at haven.Widget.draw(Widget.java:510)
at haven.Widget.draw(Widget.java:515)
at haven.GameUI.draw(GameUI.java:565)
at haven.Widget.draw(Widget.java:510)
at haven.Widget.draw(Widget.java:515)
at haven.RootWidget.draw(RootWidget.java:80)
at haven.UI.draw(UI.java:147)
at haven.HavenPanel.redraw(HavenPanel.java:280)
at haven.HavenPanel$1.display(HavenPanel.java:92)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:588)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:572)
at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:1054)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1034)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:909)
at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:1065)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

please someone care to help?

Re: freeze and crash

PostPosted: Mon Aug 19, 2013 7:35 pm
by DarkNacht
You need to expand the memory that it is allowed to use.
Open the .jnlp file that you use to run Salem in a text editor and under <resources> change:
<java version="1.6+" max-heap-size="512M" />
<j2se version="1.6+" max-heap-size="512M" />

to:
<java version="1.6+" max-heap-size="1024M" />
<j2se version="1.6+" max-heap-size="1024M" />

Re: freeze and crash

PostPosted: Mon Aug 19, 2013 8:20 pm
by Rantul
It actually helped my clients, less crashes. Still does after awhile, and eventually breaks everything to the point i have to reboot. Like changes settings, refuses to download, livestream video, and after many many hours of running java client it crashes the computer completely. Rebooting always fixes it, It seems to be mainly a memory leak to the point it can't buffer anything anymore. Transporting causes many of the crashes for some reason, I don't expect a lot from a 3rd party client, its just the cost of running a client that makes the game enjoyable. I can stand playing it without ender's client.

Re: freeze and crash

PostPosted: Mon Aug 19, 2013 8:59 pm
by adipw
it's still crashing, with or without ender client. oh, well at least i still can play. thanx for the reply

Re: freeze and crash

PostPosted: Mon Aug 19, 2013 9:37 pm
by DarkNacht
Rantul wrote:It actually helped my clients, less crashes. Still does after awhile, and eventually breaks everything to the point i have to reboot. Like changes settings, refuses to download, livestream video, and after many many hours of running java client it crashes the computer completely. Rebooting always fixes it, It seems to be mainly a memory leak to the point it can't buffer anything anymore. Transporting causes many of the crashes for some reason, I don't expect a lot from a 3rd party client, its just the cost of running a client that makes the game enjoyable. I can stand playing it without ender's client.

You can't make a memory leak in Java. What is likely happening is that you eventually fill up the allocated memory and when the client crashes the JVM does not close, this can also happen when you run multiple clients at one time. You should be able to close Java with the task manager, if you are using Windows, and that should fix your problem, if it does not your computer has additional problems that are just being exacerbated by the client crash.

adipw wrote:it's still crashing, with or without ender client. oh, well at least i still can play. thanx for the reply

You could try to clear out your cache(C:\Users\<username>\.salem).

Re: freeze and crash

PostPosted: Mon Aug 19, 2013 11:13 pm
by MagicManICT
Simply logging out every hour or so should help the situation. You can do so through the options menu in Enders or using the console command :lo. This frees up the processor to run the garbage collector and clears out cached map files that may no longer be needed.

Re: freeze and crash

PostPosted: Fri Nov 01, 2013 12:33 pm
by Judaism
I have problems while raiding and tracking, I know you should do :lo once in awhile but image you forgot it while raiding or when you are tracking, I have had this several times.

Isn't there another way to actually get rid of this ?
It has never been a huge problem to me before, right now I can't raid simply because of this.

Re: freeze and crash

PostPosted: Sat Nov 02, 2013 12:07 am
by Hardy
Rantul wrote:It actually helped my clients, less crashes. Still does after awhile, and eventually breaks everything to the point i have to reboot. Like changes settings, refuses to download, livestream video, and after many many hours of running java client it crashes the computer completely. Rebooting always fixes it, It seems to be mainly a memory leak to the point it can't buffer anything anymore. Transporting causes many of the crashes for some reason, I don't expect a lot from a 3rd party client, its just the cost of running a client that makes the game enjoyable. I can stand playing it without ender's client.


I have been having this problem for awhile now also the game use to work fine and then right after one of the last couple of patches around 2 months or so ago can't remember which one it started. It use to take a couple of hours to start to slow down get choppy but here the last week or so it started happening sometimes within 15 min or so of logging in.