LAG!LAG!

Ask and answer any and all questions pertaining to Salem's game-play.

LAG!LAG!

Postby uuhan » Wed Jun 05, 2013 8:17 pm

Server Status is good for two days. Began to lag.
uuhan
 
Posts: 17
Joined: Wed May 22, 2013 4:35 pm

Re: LAG!LAG!

Postby Alexivo » Thu Jun 06, 2013 12:21 am

Thats nice....


(What is your question? Was it just a momentary lag spike you experienced and you are just letting us know?)
Alexivo
 
Posts: 50
Joined: Sat Nov 10, 2012 12:16 am

Re: LAG!LAG!

Postby ziegjp » Thu Jun 06, 2013 4:06 pm

If he / it / she is having problems like I and my friends are having it's something like this: For the past 2 days salem has been almost unplayable due to serious lag issues. Nearly every single time the game needs to load something (new map tile, stone chipping animation, pretty much anything other than standing still) there is a good 1-4 second lag OR we are right out disconnected. I am fairly certain that this is the same error I always get so here is a copy of it. Not being a programmer I have no clue what this is saying other than "Out of memory". This particular machine is 64bit arch with Win7, 4gb ram, latest java, and latest nvidia drivers. (neither of which had an update in the past few days, I checked) Someone on another thread suggested that the map files be removed/deleted and the game restarted. That seemed to have no effects.

So my good Salem folken, What do?

java.lang.RuntimeException: haven.GOut$GLOutOfMemoryException: GL Error: 1285 (out of memory)
at jogamp.common.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
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:449)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:393)
at haven.HavenPanel.run(HavenPanel.java:425)
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:881)
at haven.Widget.draw(Widget.java:510)
at haven.Widget.draw(Widget.java:515)
at haven.GameUI.draw(GameUI.java:471)
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:279)
at haven.HavenPanel$1.display(HavenPanel.java:92)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:373)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:358)
at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:983)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:655)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:594)
at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:996)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
User avatar
ziegjp
 
Posts: 8
Joined: Sat Mar 30, 2013 4:17 pm

Re: LAG!LAG!

Postby Procne » Thu Jun 06, 2013 4:09 pm

Probably you have crapton of applications running in the background, eating RAM. If you are playing on laptop then there's a good chance that part of those 4 GBs is given to GPU.

Check your memory usage while launching Salem.

edit: Also, you said that your computer is in x64 architecture, but is Win7 x64 bit as well? It was pretty common for shops to sell computers with 4GB RAM and 32 bit OEM Windows 7
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: LAG!LAG!

Postby ziegjp » Thu Jun 06, 2013 4:37 pm

Whoops, sorry about that. This is a x86 build. Desktop with dedicated vid card. I have, many times, cleared out any possible non system critical applications to make sure I have sufficient RAM. I have also gone through many restarts with everything not needed cleared out of MSCONFIG. Every machine I own (including this one believe it or not) will run any game I feed into it like a champ, even Salem until recently. :) I would cry foul over hardware in one of the machines if my others were running it fine. I also know that it is not any local routing (LAN or WAN) since I was in a different town yesterday. BTW that error was from this morning. My first attempt at playing after last nights reset. :\
User avatar
ziegjp
 
Posts: 8
Joined: Sat Mar 30, 2013 4:17 pm

Re: LAG!LAG!

Postby Procne » Thu Jun 06, 2013 4:43 pm

Well, "Out of Memory" error clearly means that there is not enough memory for Java.
With x86 build you have around 3GB RAM. Probably around 800 MB goes for system. Did you check memory usage before launching Salem? In Task Manager that is.
Also, what client are you using - default or Ender's?
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: LAG!LAG!

Postby ziegjp » Thu Jun 06, 2013 5:03 pm

Again, just 60 seconds ago.

java.lang.RuntimeException: haven.GOut$GLOutOfMemoryException: GL Error: 1285 (out of memory)
at jogamp.common.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
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:449)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:393)
at haven.HavenPanel.run(HavenPanel.java:425)
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:881)
at haven.Widget.draw(Widget.java:510)
at haven.Widget.draw(Widget.java:515)
at haven.GameUI.draw(GameUI.java:471)
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:279)
at haven.HavenPanel$1.display(HavenPanel.java:92)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:373)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:358)
at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:983)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:655)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:594)
at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:996)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)

I understand what the out of memory error means but I also know that I get the same error on my home machine which is packed up with 16 gb of ripsaws. Its a gaming rig in all sense of the word. :)
Java is always ~1.5gb ram usage when it crashes. Never more or less.

Today is "figure out why the hell this is screwing up" day. Love me some salem and really want to get this working. :) I am thankful for any and all help and or recommendations!

Using enders client. Just pulled a clean copy of that and all game files but to no avail.
User avatar
ziegjp
 
Posts: 8
Joined: Sat Mar 30, 2013 4:17 pm

Re: LAG!LAG!

Postby lachlaan » Thu Jun 06, 2013 5:10 pm

Java's well known for having prostate problems. It always needs to take a (memory) leak. :P
Exactly 6.022 x 10^23 worth of Lach molecules.
lachlaan
Customer
 
Posts: 2043
Joined: Tue Mar 12, 2013 3:11 pm

Re: LAG!LAG!

Postby Procne » Thu Jun 06, 2013 5:42 pm

If you open the .jnlp file you use to launch Salem, with notepad, there should be 2 lines like this:

<java version="1.6+" max-heap-size="512M" />
<j2se version="1.6+" max-heap-size="512M" />

Try changing this 512 to something bigger, like 1024
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: LAG!LAG!

Postby ziegjp » Thu Jun 06, 2013 6:18 pm

I just pumped it like suggested and it seemed to make no difference. I think I may have found the culprit however. I have about 60 cotton fields that are about to mature. Whenever my friends or I load any screen thats even close to those fields, thats when the lag kicks in. Its trying to load all of those fields at once... Anyone else experience problems around many fields?
User avatar
ziegjp
 
Posts: 8
Joined: Sat Mar 30, 2013 4:17 pm

Next

Return to Help!

Who is online

Users browsing this forum: No registered users and 280 guests