Skip 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.

[2.3.44] Memory Leak - client.getLoggedIn()

Featured Replies

OSBot version number: 2.3.44

Description of the bug/error: Memory leak with client.getLoggedIn() only on my VPS.

 

Instructions how to replicate the bug/error: Idk, this only happens on my VPS. Can give full unrestricted access via VNC if it would help.

(IF APPLICABLE) Screenshots:

 

a2380d7398.jpg

 
  • Author

You say this only happens on vps? Does it run the same os as your home desktop? It never happens on your home desktop?

 

I run Ubuntu 14.04 64bit on both my VM for testing (which runs the same script on a 200mb heap for 8hr+ just fine) and on the VPS. They both have Java 64bit 1.8u40 as the default java. I have also tried 32bit on the VPS. Same java installer. I'm stumped at what the difference is.

 

The only difference I can think of is the server started off as "Ubuntu server" and I installed the GUI, but I don't see how this would affect a call to isLoggedIn().

Edited by dudeami

I run Ubuntu 14.04 64bit on both my VM for testing (which runs the same script on a 200mb heap for 8hr+ just fine) and on the VPS. They both have Java 64bit 1.8u40 as the default java. I have also tried 32bit on the VPS. Same java installer. I'm stumped at what the difference is.

The only difference I can think of is the server started off as "Ubuntu server" and I installed the GUI, but I don't see how this would affect a call to isLoggedIn().

So your saying that you narrowed it down to that one specific call? How did you come about to determine this?

Edit I just saw your image

That's interesting. Do you notice the memory usage constantly increasing on the client when you call that method?

Edited by Mysteryy

  • Author

Yes, theres a near contant increase in used heap space, and the commited heap space will increase over time. Heres a breakdown of the calls, so its not just my script calling it too many times.

 

2f8fbb2b13.jpg

Yes, theres a near contant increase in used heap space, and the commited heap space will increase over time. Heres a breakdown of the calls, so its not just my script calling it too many times.

2f8fbb2b13.jpg

Hm that's interesting. I am running ubuntu 14.04 as primary desktop and after 2.3.44 I noticed the memory usage would also increase compared to normal but it could have been me being picky. I'm going to test this out when I get home and actually analyze the memory allocation and try to make ot mess up again.

what jdk are you using on desktop vs vps?

  • Author

Hm that's interesting. I am running ubuntu 14.04 as primary desktop and after 2.3.44 I noticed the memory usage would also increase compared to normal but it could have been me being picky. I'm going to test this out when I get home and actually analyze the memory allocation and try to make ot mess up again.

what jdk are you using on desktop vs vps?

 

I install jdk 1.8u40 from webupd8 PPA, for the 32bit I downloaded direct from oracle.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.