darylo Posted October 2, 2016 Share Posted October 2, 2016 I'v been surfing for quite a while this morning trying to resolve this issue, found quite a few topics, but still can't figure out how to allocate more ram/memory to the client itself, because I have the "freezing" issue when I run 2 bots on the same client, can't run 2 separate ones because I am not a VIP member. My box is pretty decent with i7 cpu and 16gb ram so that's really not an issue, would there be a single kind guy who would just kindly tell me step by step how to do that proccess? (Allocating more ram/memory to osbot client) Win10. 1 Quote Link to comment Share on other sites More sharing options...
Salty as fuck Posted October 2, 2016 Share Posted October 2, 2016 control panel -> java -> java tab -> add this to runtime parameters -xmx4096 1 Quote Link to comment Share on other sites More sharing options...
darylo Posted October 2, 2016 Author Share Posted October 2, 2016 control panel -> java -> java tab -> add this to runtime parameters -xmx4096 That's for the reply. Not sure what's the problem here for me, but seems like it doesn't work. https://gyazo.com/3a5d847ef3c91a50fc46e82a600f0350 Quote Link to comment Share on other sites More sharing options...
Salty as fuck Posted October 2, 2016 Share Posted October 2, 2016 That's for the reply. Not sure what's the problem here for me, but seems like it doesn't work. https://gyazo.com/3a5d847ef3c91a50fc46e82a600f0350 That's more of a cpu problem than it is a ram problem.. Allocating more ram just means that there's more available if the app needs it. Quote Link to comment Share on other sites More sharing options...
darylo Posted October 2, 2016 Author Share Posted October 2, 2016 That's more of a cpu problem than it is a ram problem.. Allocating more ram just means that there's more available if the app needs it. http://osbot.org/forum/topic/104166-high-cpu-usage/ Quote Link to comment Share on other sites More sharing options...
Salty as fuck Posted October 2, 2016 Share Posted October 2, 2016 http://osbot.org/forum/topic/104166-high-cpu-usage/ The lag is cpu-related. Again, the flag -xmx4096 allocates 4gb of ram towards it if it needs it. 4gb will be the maximum allocated. You can always try -xms2048 as well. Quote Link to comment Share on other sites More sharing options...
darylo Posted October 2, 2016 Author Share Posted October 2, 2016 The lag is cpu-related. Again, the flag -xmx4096 allocates 4gb of ram towards it if it needs it. 4gb will be the maximum allocated. You can always try -xms2048 as well. what's the difference between -xmx and -xms? Quote Link to comment Share on other sites More sharing options...
Salty as fuck Posted October 2, 2016 Share Posted October 2, 2016 what's the difference between -xmx and -xms? http://lmgtfy.com/?q=what%27s+the+difference+between+xms+and+xmx Quote Link to comment Share on other sites More sharing options...
Mr Pro Pop Posted October 2, 2016 Share Posted October 2, 2016 control panel -> java -> java tab -> add this to runtime parameters -xmx4096 Thanks for this -Xmx is the maximum of RAM wich osbot can allocate. -Xms is the allocated RAM at the beginning. Quote Link to comment Share on other sites More sharing options...