aftabdear Posted June 8, 2017 Share Posted June 8, 2017 Basically I use this script and gradually over time it exceeds 2000mb is this a fault with the client or the script? Quote Link to comment Share on other sites More sharing options...
transmission Posted June 8, 2017 Share Posted June 8, 2017 not entirely sure but it might be a client problem, i know there were some memory leak issue(s) not sure if they got fixed yet. someone correct me if i'm wrong. Quote Link to comment Share on other sites More sharing options...
TTTTurbo Posted June 8, 2017 Share Posted June 8, 2017 run into the same prob sometimes anyone have any resolutions? Quote Link to comment Share on other sites More sharing options...
z10n Posted June 8, 2017 Share Posted June 8, 2017 Also experiencing this, after having 7 tabs open, I'd close 6, but my mem usage (occasionally) will remain nearly as high as when I had all 7 open. Quote Link to comment Share on other sites More sharing options...
Krulvis Posted June 9, 2017 Share Posted June 9, 2017 Similar issues here. Very frustrating as well. Client can just end up freezing and not responding to anything. I tried to attach JVisualM to the bot but OSBot's SecurityManager doesn't allow it.... Next I tried to use JProfiler which did manage to attach. I haven't found anything promising yet but I'm pretty sure there is atleast one memory leak in the client. 1 Quote Link to comment Share on other sites More sharing options...
LIVING Posted June 9, 2017 Share Posted June 9, 2017 Are you on a linux server? Most likely no audio driver installed so RS plays music and over time the memory leaks. Solution: install sound driver OR turn off the sound on rs Quote Link to comment Share on other sites More sharing options...
Krulvis Posted June 9, 2017 Share Posted June 9, 2017 1 hour ago, LIVING said: Are you on a linux server? Most likely no audio driver installed so RS plays music and over time the memory leaks. Solution: install sound driver OR turn off the sound on rs Ye have had this issue on t0pb0t as well, but that was a long time back. I'll double check on my accounts but I'm pretty sure that they didn't just change sound settings out of nowhere :P Quote Link to comment Share on other sites More sharing options...
LIVING Posted June 9, 2017 Share Posted June 9, 2017 3 minutes ago, Krulvis said: Ye have had this issue on t0pb0t as well, but that was a long time back. I'll double check on my accounts but I'm pretty sure that they didn't just change sound settings out of nowhere :P Uhm this is a known memory leak that OSBot hasn't fixed Quote Link to comment Share on other sites More sharing options...
IDontEB Posted June 9, 2017 Share Posted June 9, 2017 7 minutes ago, Krulvis said: Ye have had this issue on t0pb0t as well, but that was a long time back. I'll double check on my accounts but I'm pretty sure that they didn't just change sound settings out of nowhere :P sound is on by default when you make a new account. Quote Link to comment Share on other sites More sharing options...
Krulvis Posted June 10, 2017 Share Posted June 10, 2017 10 hours ago, IDontEvenBot said: sound is on by default when you make a new account. The same leak appeared on t0pb0t so I am used to disabling sound on my accounts. This is not the issue. Something else is causing memory leaks... Quote Link to comment Share on other sites More sharing options...
Butters Posted June 10, 2017 Share Posted June 10, 2017 Just blabbing, but after webwalking it doesn't drop down to previous RAM usage. Dunno if this is normal. Eventually had a ton of problem with memory management, though using -mem 1024 flag seemed to help. Quote Link to comment Share on other sites More sharing options...
IDontEB Posted June 10, 2017 Share Posted June 10, 2017 (edited) 26 minutes ago, Krulvis said: The same leak appeared on t0pb0t so I am used to disabling sound on my accounts. This is not the issue. Something else is causing memory leaks... Is it possible OSbot is not allowing the garbage collector to properly identify which pieces of memory are no longer in use? No matter what I try I cant get ram useage to go down if I walk around runescape for a while, which leads me to believe the map isnt being released from memory. also, sometimes objects which I nulled earlier get return as not null when null checking them. Edited June 10, 2017 by IDontEvenBot Quote Link to comment Share on other sites More sharing options...
Butters Posted June 10, 2017 Share Posted June 10, 2017 Just now, IDontEvenBot said: Is it possible OSbot is not allowing the garbage collector to properly identify which pieces of memory are no longer in use? No matter what I try I cant get ram useage to go down if I walk around runescape for a while, which leads me to believe the map isnt being released from memory. I really doubt that OSBot isn't allowing for GC to work As my scripts go, I thought they were the cause of memory leaks, though checked and rechecked and didn't find anything. Doesn't mean that I'm any good at identifying these though Quote Link to comment Share on other sites More sharing options...
IDontEB Posted June 10, 2017 Share Posted June 10, 2017 1 minute ago, nosepicker said: I really doubt that OSBot isn't allowing for GC to work As my scripts go, I thought they were the cause of memory leaks, though checked and rechecked and didn't find anything. Doesn't mean that I'm any good at identifying these though maybe not OSbot could have been the OSRS devs when they put the new minimap in game but my clients can get up to almost 2gb if I walk around long enough Quote Link to comment Share on other sites More sharing options...
Jake Slang Posted June 10, 2017 Share Posted June 10, 2017 (edited) Sometimes my client uses an absurd amount of CPU (80%-90% by only running 1 script). Just close and reopen the client, it should fix it. Edited June 10, 2017 by Jake Slang Quote Link to comment Share on other sites More sharing options...