An error has occured!

The worst monsters in the Hearthlands warp the fabric of space and time...
User avatar
dageir
Posts: 1973
Joined: Sat Mar 31, 2012 12:37 pm

An error has occured!

Post by dageir »

haven.Defer$DeferredException: java.lang.OutOfMemoryError: Java heap space
at haven.Defer$Future.get(Defer.java:168)
at haven.MCache$Grid.getcut(MCache.java:188)
at haven.MCache.getcut(MCache.java:435)
at haven.MapView$1.setup(MapView.java:451)
at haven.RenderList.setup(RenderList.java:100)
at haven.RenderList.add(RenderList.java:137)
at haven.MapView.setup(MapView.java:609)
at haven.PView$1.setup(PView.java:198)
at haven.RenderList.setup(RenderList.java:100)
at haven.RenderList.setup(RenderList.java:125)
at haven.PView.draw(PView.java:222)
at haven.MapView.draw(MapView.java:954)
at haven.Widget.draw(Widget.java:659)
at haven.Widget.draw(Widget.java:664)
at haven.GameUI.draw(GameUI.java:746)
at haven.Widget.draw(Widget.java:659)
at haven.Widget.draw(Widget.java:664)
at haven.RootWidget.draw(RootWidget.java:113)
at haven.UI.draw(UI.java:143)
at haven.HavenPanel.rootdraw(HavenPanel.java:302)
at haven.HavenPanel.run(HavenPanel.java:547)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
at haven.MapMesh$2Buf.<init>(MapMesh.java:546)
at haven.MapMesh.consflat(MapMesh.java:572)
at haven.MapMesh.build(MapMesh.java:332)
at haven.MCache$Grid$1.call(MCache.java:225)
at haven.MCache$Grid$1.call(MCache.java:220)
at haven.Defer$Future$1.run(Defer.java:139)
at java.security.AccessController.doPrivileged(Native Method)
at haven.Defer$Future.run(Defer.java:138)
at haven.Defer$Worker.run(Defer.java:224)

Also the view of the game disappears with regular intervals, but map is intact.. I move by map..
Image
lachlaan
Posts: 488
Joined: Sat Apr 06, 2013 9:32 pm

Re: An error has occured!

Post by lachlaan »

Default client? Or one of the custom ones? Attempt getting one of the batch files to start the game with that allocate 1024 mb worth of memory to it. Am certain you can find one on these forums.
User avatar
dageir
Posts: 1973
Joined: Sat Mar 31, 2012 12:37 pm

Re: An error has occured!

Post by dageir »

Happens on default client.
I have to relog every 5 minutes because of this error.
The last two minutes before the freeze everything slows down.
Image
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: An error has occured!

Post by MagicManICT »

As an experiment, you can try the following:

Save the autohaven.jnlp to your desktop and then open it in something like wordpad (suggested so you get proper line breaks) and find the following two lines:

Code: Select all

<j2se version="1.5+" max-heap-size="512M" />
<java version="1.5+" max-heap-size="512M" />
Increase the "512M" to "1024M". Save and the launch from the saved copy on your desktop.

No idea if this will help or not. You can do this with any of the modded clients that load with a .jnlp, too, to see if it will help.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
dageir
Posts: 1973
Joined: Sat Mar 31, 2012 12:37 pm

Re: An error has occured!

Post by dageir »

Thank you!
Will look into it if the problem repeats itself.
Image
User avatar
jorb
Posts: 18715
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: An error has occured!

Post by jorb »

Will have loftar look at it at some point.
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."

-- Hieromonk Seraphim Rose

Return to “Bugs”