Zummy Posted November 3, 2018 Share Posted November 3, 2018 (edited) 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, 2018 by Zummy Quote Link to comment Share on other sites More sharing options...
Shmeekz Posted November 4, 2018 Share Posted November 4, 2018 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.. Quote Link to comment Share on other sites More sharing options...
Juggles Posted November 4, 2018 Share Posted November 4, 2018 If you code your own scripts, switch to walkpath. Uses a lot less resources. Most public scripts use webwalker which is super RAM heavy. Quote Link to comment Share on other sites More sharing options...
IDontEB Posted November 4, 2018 Share Posted November 4, 2018 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. Quote Link to comment Share on other sites More sharing options...
Zummy Posted November 5, 2018 Author Share Posted November 5, 2018 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? Quote Link to comment Share on other sites More sharing options...