November 3, 20187 yr Hey guys, I bought a server to run some client but I'm having issue's with ram usage. The scripts use over 3GB each, while the same script on my laptop runs on ~700mb. I tried turning off the sounds but that didn't work. I'm running on Windows 2016 Standard with 2x 2.1Ghz CPU and more than enough DDR4 RAM. Any suggestions are appreciated! Oh and I'd rather not limit the heap since that could cause the client to freeze. Edited November 3, 20187 yr by Zummy
November 4, 20187 yr Would like to know some answers too, im with ya brudda; not that Im having problems but I kinda wanna know what server to buy to run a good amount of bots..
November 4, 20187 yr If you code your own scripts, switch to walkpath. Uses a lot less resources. Most public scripts use webwalker which is super RAM heavy.
November 4, 20187 yr Set the max memory using CLI or the default for java is to allow itself to use 1/4th the total ram the server has.
November 5, 20187 yr Author Thanks for the replies guys, setting heap wasn't such a bad idea after all. Felt like Java was deciding on its own how much RAM it wanted to use. How should I decide what a safe number is to cap it at? I guess it also somewhat depends on how complex the script is?
Create an account or sign in to comment