Jump to content

High memory on every script


RetroBot

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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