Out Of Memory?

The worst monsters in the Hearthlands warp the fabric of space and time...

Out Of Memory?

Postby CSPAN » Sat Jan 02, 2016 3:35 am

Pretty new, also, had this topic moved to Wizards Tower in old thread, but after noticing it happens with the vanilla client, thought Id post it here.

Starts with 60 fps, then after an amount of time that varies, will crawl to 0 fps, then crash.

restarting the client fixes temporarily.

pls help

pls delete old thread

Code: Select all
java.lang.OutOfMemoryError: Java heap space
   at com.jcraft.jorbis.DspState.init(DspState.java:190)
   at com.jcraft.jorbis.DspState.synthesis_init(DspState.java:216)
   at dolda.xiphutil.VorbisStream.<init>(VorbisStream.java:98)
   at dolda.xiphutil.VorbisStream.<init>(VorbisStream.java:117)
   at haven.Resource$Audio.stream(Resource.java:1410)
   at haven.AudioSprite$ClipSprite.<init>(AudioSprite.java:70)
   at haven.AudioSprite$1.create(AudioSprite.java:49)
   at haven.Sprite.create(Sprite.java:124)
   at haven.Gob.ctick(Gob.java:108)
   at haven.OCache.ctick(OCache.java:68)
   at haven.Glob.ctick(Glob.java:200)
   at haven.HavenPanel.run(HavenPanel.java:527)
   at java.lang.Thread.run(Unknown Source)
LS of Twin Lakes BIG TRUCKS
User avatar
CSPAN
 
Posts: 885
Joined: Mon Apr 04, 2011 12:10 am

Re: Out Of Memory?

Postby shubla » Sat Jan 02, 2016 10:20 am

You are (obivously) running out of ram.
Either your computer doesnt have enough free ram avaible, or then not enough of it is assigned to jav a.
But i think it should work even if you'd not assign very much to java.
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13041
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: Out Of Memory?

Postby MagicManICT » Sat Jan 02, 2016 6:41 pm

It's not a system ram issue as you're implying, shubla, unless it is a very old computer, and then the issue would be that there isn't a support graphics processor even if this one is resolved.

First thing to try is increasing the available heap size. This may or may not fix it. You can do this in two ways: modifying the .jnlp file (open with a text editor, find "max-heap-size" and double the number after it; be sure to leave the M and inside the quotation marks; be sure to use a copy you saved to the desktop or such and launch from that), modify the batch file that launches haven.jar (look for a -xmx and/or -xms argument and change the number values on that). If this fixes it, great.

Otherwise, it looks like the crash is related to the recent change to audio buffers loftar implemented. If you increased those to a point of running out of memory, you may need to clear cache and any configuration files that got modified and download again if adjusting numbers doesn't work.

Please let me know if I need to type this up better. I can do a better step-by-step.
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
MagicManICT
 
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Out Of Memory?

Postby Granger » Sat Jan 02, 2016 8:55 pm

Please post the info needed about your system, see viewtopic.php?f=47&t=39954
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Out Of Memory?

Postby CSPAN » Sun Jan 03, 2016 2:38 am

Latest version of Java, 8gigs of RAM, Windows 10, GeForce GT 720. @MagicMan, will give that a try.
LS of Twin Lakes BIG TRUCKS
User avatar
CSPAN
 
Posts: 885
Joined: Mon Apr 04, 2011 12:10 am

Re: Out Of Memory?

Postby APXEOLOG » Mon Jan 04, 2016 10:45 am

Ensure that you have proper Java installed (64-bit for 64-bit system)
W10 Meme Plot | W9 Mantis Garden | W8 Core | W7 Ofir | W6 the City of Dis | W5 Vitterstad | W4 A.D. | W3 Mirniy
jorb wrote:All your characters will be deleted, and I will level every village any one of them were ever members of.
User avatar
APXEOLOG
 
Posts: 1296
Joined: Fri Apr 23, 2010 7:58 am
Location: Somewhere on Earth

Re: Out Of Memory?

Postby jorb » Mon Jan 04, 2016 4:56 pm

Paged loftar.
"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
User avatar
jorb
 
Posts: 18437
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: Out Of Memory?

Postby loftar » Mon Jan 04, 2016 5:12 pm

I don't think there's any way for me to tell what is happening without a heap dump. If you can produce a heap dump when the client is on the verge of crashing, that would be very helpful.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9056
Joined: Fri Apr 03, 2009 7:05 am

Re: Out Of Memory?

Postby romovs » Mon Jan 04, 2016 7:18 pm

^ Translation to English: :)
Get this https://dl.dropboxusercontent.com/u/371 ... -debug.zip and use run.bat
Once it crashes send java_pid*.hprof file to loftar.
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Out Of Memory?

Postby CSPAN » Mon Jan 04, 2016 10:46 pm

Pm'd
LS of Twin Lakes BIG TRUCKS
User avatar
CSPAN
 
Posts: 885
Joined: Mon Apr 04, 2011 12:10 am

Next

Return to Bugs

Who is online

Users browsing this forum: Claude [Bot] and 39 guests