Jump to content

High memory on every script


Recommended Posts

Posted (edited)

Every script(local and SDN) I run seems to run at around 800-1200MB. Even just being logged into the game without running any script uses 500-530MB. How could I fix this issue, and what should be the average memory each client should use? The previous client I use to bot on usually used around 300-350mb with a script running.

Edited by RetroBot
Posted
13 minutes ago, RetroBot said:

Every script(local and SDN) I run seems to run at around 800-1200MB. Even just being logged into the game without running any script uses 500-530MB. How could I fix this issue, and what should be the average memory each client should use? The previous client I use to bot on usually used around 300-350mb with a script running.

If you were using a client that was "only using" 300-350 mb, it means they were setting the max heap space on that jvm to something not natural. If you would like, you can replicate that same behavior but I really recommend not. OSBot allows Java to naturally use and allocate resources. 

The command line argument for this is:

java -jar "osbot.jar" -mem 512

 

Once again, I really recommend not doing this but I'm not going to stop you.

Posted
4 minutes ago, Alek said:

If you were using a client that was "only using" 300-350 mb, it means they were setting the max heap space on that jvm to something not natural. If you would like, you can replicate that same behavior but I really recommend not. OSBot allows Java to naturally use and allocate resources. 

The command line argument for this is:

java -jar "osbot.jar" -mem 512

 

Once again, I really recommend not doing this but I'm not going to stop you.

Is 800-1200MB normal for a script to run at on OSBot?

Posted
5 minutes ago, RetroBot said:

Is 800-1200MB normal for a script to run at on OSBot?

Most scripts run around that much. Depends on how complex the script is too. 

Some of my scripts you can cap it at 700 ish, have to play with it more. 

 

but just allowing it to just use whatever ram is recommended. OSbot is amazing at adjusting lol.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...