enlightenedcake wrote:milonti wrote:What's the command to run this with more memory? OFr some reason it seems to be running slow on my system.
Well, you can set the minimum (-Xms) / maximum (-XmX) memory the JVM can utilize as heap ... but I doubt it will speed up things ... you can also set the amount of memory Java utilizes when doing native stuff via -XX:MaxDirectMemorySize ...
java -Xms2048m -Xmx4096m -XX:MaxDirectMemorySize=2048M -jar build/hafen.jar -U http://game.havenandhearth.com/hres/ game.havenandhearth.com
... but how about just increasing the priority of your Java process in the Task Manager or via nice/renice on Linux?
Most custom clients allow you to turn off "flavor objects" on the map ... and you could also compile your client not to show walls/trees/crops/bushes/etc. ...
Thanks! I think right now my Java just doesn't have access to enough of my memory. It doesn't seem to be graphics slowing it down. Unless the graphics run off my chipset and not my GPU. I multi-task a lot so i don't like the idea of giving Java more priority >.>