Sign in to follow this  
Sjarn

Memory filling up, swap partition filling up, and then computer freeze

Recommended Posts

I'm not sure if this is a Linux thing, or a new client thing, but I'm running Xubuntu so I'll start here.  With the new Linux downloaded client, the longer I play, the more memory the game takes up - and the memory reported in task manager used by Wurm gets larger and larger.  Eventually, once the memory is filled I will see the swap partition fill, and then eventually the entire computer will freeze.  Only a hard reboot will work.  So I'm wondering, were there startup parameters set in the old JNLP client that constrained the memory the program could use, that we need to use with the new Client?  I've been simply executing the WurmLauncher file that extracted from wurmlauncher.tar.gz.

 

 

Share this post


Link to post
Share on other sites

I see this as well, on Linux Mint. Memory keeps stable (as reported by system monitor) if I stay on my deed, travel however will cause heavy memory use, seen up to 12 GB used by the launcher. Only "solution" I know is to relog once in a while when travelling.

 

Can I blame Java garbage collection? :)

Share this post


Link to post
Share on other sites

I have freezes from time to time, OpenSuse Leap 42.3, on my NB. But it rather seems to be linked to overheat. When the hardware cycles down the CPUs, Java seems to run crazy, and stuck in a  driver interrupt routine. Sometimes killall -9 java helps, sometimes hard reset only.

Share this post


Link to post
Share on other sites
3 hours ago, Eobersig said:

I see this as well, on Linux Mint. Memory keeps stable (as reported by system monitor) if I stay on my deed, travel however will cause heavy memory use, seen up to 12 GB used by the launcher. Only "solution" I know is to relog once in a while when travelling.

 

Can I blame Java garbage collection? :)

 

Exactly the same for me.  If I stay on deed, seems to be OK - or at least much slower growth.  I just took a trip to do a mission and the memory use went from 1.8 GB to 11.8GB by the time I got back home. 

Share this post


Link to post
Share on other sites

Happened to me today - at least something that looked like that. Was out in the wild after a long travel on Jackal then all what happened was a 1-2 min long swap thrashing even making it impossible to open up atop to see what's happening. Then the client window just crashed and all went back to normal. This is something I did not experience for the last few years.

Share this post


Link to post
Share on other sites

Yes, if I can close the client before it completely fills up the swap, or the game crashes, then everything goes back to normal on the rest of the computer as well.  But if the memory and swap file fill up enough, the desktop and mouse freeze, and I have to manually power it off. 

Share this post


Link to post
Share on other sites

I usually force java garbage collection or relog when I notice graphic stuttering or see the memory usage start rising and yes this is when I am travelling, used to have the exact same issue in the windows version as well but I am not sure if it still does.

Share this post


Link to post
Share on other sites

How do you externally force the JVM to do garbage collection?  I wasn't aware that was possible.  I'd certainly try that if you let me know how you do it.  I can relog, but I shouldn't have to (and didn't have to before two patches ago). 

 

I have to say that while the increased memory use is relatively slow, it's consistent enough that I suspect it's more likely some sort of memory leak somewhere.

Share this post


Link to post
Share on other sites
1 hour ago, Sjarn said:

How do you externally force the JVM to do garbage collection?

 

Simplest method is starting another instance of the client, should suffice even without logging in an alt.

Share this post


Link to post
Share on other sites

Doesn't seem to help.  Unless I logout, and login again the memory use continues to increase.  Easiest way to replicate this is to start 2-3 clients simultaneously.  I've put the Task Manager on my top panel, and can watch as it slowly increased over the course of a couple hours play.  Eventually the memory will be full and the swap will start to fill.  Once both are full the computer freezes.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this