Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Increase in ram usage (Ram leak or something?)

Featured Replies

Hey, as of recent my script has started to have ram usage slowly keep raising.
I used to run it and it would hit 400mb ram/client max over the span of 24 hours.
Now using the same script (unedited) it increases at a crazy rate
within 3 hours it now uses 600mb ram/client and no doubt will reach 800mb within a few hours

Is there a way to combat this? either via code or something else?

script usage before:
d0ee8543b2.png
script usage after: 

b50c4176f8.png

  • Author
1 minute ago, Chris said:

each client uses 512mb minimum

no it doesnt

  • Author
14 minutes ago, Chris said:

once again, its not on there...

this is exact same script 0 change using more now than before

2 minutes ago, Lewis said:

hes trolling

i was really getting confused by him saying each clients is min 500mb when i currently have 8 clients open at 140mb each

 

5 minutes ago, will_of_fire said:

yeah mines been really high too

ram.PNG

Mine are running the same as before.

That's not high, that's normal usage. @will_of_fire what script were you running?

It's the new OSBot update, I'm adding an extra 400MB in frog memes to be loaded into memory. Seriously though, why are you using Task Manager for this? You're not going to get accurate information.

  • Author
35 minutes ago, Alek said:

It's the new OSBot update, I'm adding an extra 400MB in frog memes to be loaded into memory. Seriously though, why are you using Task Manager for this? You're not going to get accurate information.

task manager is what ive always used, and even so i cant see why same script now uses more ram compared to 3 days ago

You should look into using a memory profiler and taking snapshots of your memory at the start of your run and after a while when it reaches the higher memory levels. Then look at the objects its holding onto and tracking down where those references are created. I have only done this mainly in c# though for work but I am sure its just as easy to do in java.

 

Edit from what I can tell it looks like osbot adds this argument when running a script "-XX:+DisableAttachMechanism". Which looks to disable heap dumps if anyone knows if this is correct and you cannot looks at your scripts heap please let me know.

Edited by battleguard

5 hours ago, Antonio Kala said:

 

Mine are running the same as before.

That's not high, that's normal usage. @will_of_fire what script were you running?

just frost barrows which is a little intensive and some crabs

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.