Page 1 of 2

Low-memory client

PostPosted: Wed Aug 15, 2012 5:07 am
by loftar
For what it's worth, I just managed to make the client run on a 256 MB heap. Therefore, if there are any of you trying to run this game on a low-memory computer and having performance problems, you may want to try this client:

http://plymouth.seatribe.se/java/salem-lomem.jnlp

It does some tradeoffs to support its smaller memory footprint, however, so it might lose in performance in other areas. Try it and see. :)

Re: Low-memory client

PostPosted: Wed Aug 15, 2012 5:33 am
by sabinati
might be a placebo effect, but it seemed to run more smoothly. what, exactly, are the trade-offs? got this when i exited:

java.util.NoSuchElementException
at haven.CacheMap$1$1.next(CacheMap.java:112)
at haven.CacheMap$1$1.next(CacheMap.java:70)
at java.util.AbstractMap$2$1.next(Unknown Source)
at haven.MainFrame.main2(MainFrame.java:381)
at haven.MainFrame.access$100(MainFrame.java:35)
at haven.MainFrame$7.run(MainFrame.java:420)
at java.lang.Thread.run(Unknown Source)

Re: Low-memory client

PostPosted: Wed Aug 15, 2012 6:02 am
by loftar
sabinati wrote:got this when i exited:

Ah, oups. Should be fixed now. :)

The primary tradeoffs are that loaded resources can be discarded and therefore may have to be reloaded again, and that it uses a smaller heap and therefore might have to GC more often and less efficiently. The primary advantage would be that the smaller heap and fewer textures kept in RAM would allow the client to use less virtual memory on a RAM-crowded system.

Re: Low-memory client

PostPosted: Wed Aug 15, 2012 8:37 am
by Tonkyhonk
this sounds promising. ill try it out soon.

edit
am i correct to assume "GC" stands for Garbage Collection?

Re: Low-memory client

PostPosted: Wed Aug 15, 2012 12:46 pm
by APXEOLOG
Wow, loftar made his own custom client :D

Re: Low-memory client

PostPosted: Wed Aug 15, 2012 2:14 pm
by fleblik
Wow personally I find this amazing! I am currently stuck on a netbook over summer. While it is able to run the game mostly smoothly, it becomes unbearable when there are lots of people around.

Re: Low-memory client

PostPosted: Wed Aug 15, 2012 6:34 pm
by loftar
Tonkyhonk wrote:am i correct to assume "GC" stands for Garbage Collection?

You are. :)

Re: Low-memory client

PostPosted: Wed Aug 15, 2012 9:56 pm
by Sevenless
Yeah Java GC isn't the most reliable from my experience/reading. I'd be interested to see how it works.

Re: Low-memory client

PostPosted: Mon Aug 20, 2012 3:54 am
by loftar
Sevenless wrote:Yeah Java GC isn't the most reliable from my experience/reading.

Really? I find it works quite well under most circumstances (as long as it's not severely pressured for more memory than it has been given). What is it that you find unfavorable about it?

Re: Low-memory client

PostPosted: Sun Aug 26, 2012 8:17 am
by Tonkyhonk
just tried this for a while and yes it seems smoother and i think i like it a lot. (except for the camera)
i will have to play around with it a bit longer though.
but sadly, i still lag hard in Boston center :( i was kind of expecting id be able to move around in boston a bit more easily. i click and stop for a few seconds and see myself a few steps away from where i was.
(i know i really need to upgrade my pc ... its taking way too longer than i had planned.)