Jump to content

Client freezing when I run two bots


Mechagoober

Recommended Posts

I can run two of the Warrior killer scripts at the same time, but when I try running Perfect Woodcutter and a warrior script my client almost freezes up/runs slow. I have a good computer, but when I run the two together it uses 95% of my CPU. I don't get it. When I run two of the Warriors it uses like 40% of my CPU.
Any1 have a solution on fixing this?
Thanks,

Kitten

 

I get this error, I posted it in the correct thread, but posting here too if this is a simple fix or something. Here is the code: 

[INFO][06/15 11:24:56 AM]: Started script : Perfect Woodcutter
[ERROR][Bot #1][06/15 11:25:27 AM]: Error in bot executor!
java.lang.OutOfMemoryError: Java heap space
	at org.osbot.iA.<init>(sh:30)
	at org.osbot.lpT3.<init>(bi:147)
	at org.osbot.Con.IiiIIiiiiIiI(n:155)
	at org.osbot.Con.IiiIIiiiiIiI(n:45)
	at org.osbot.Con.<clinit>(n:180)
	at org.osbot.rs07.api.Walking.webWalk(xe:228)
	at perfect.scripting.b.b.Aux.j(ke:695)
	at perfect.scripting.b.b.Aux.a(ke:145)
	at prn.onLoop(hf:74)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(qe:268)
	at java.lang.Thread.run(Unknown Source)

Edited by Kitten Krazy
Link to comment
Share on other sites

Hi,

 

This is not necessarily a OSBot error. The actual error of all that: Java.lang.OutOfMemoryError. As I interpret it: It takes to much memory, as all platforms use a certain amount of memory.

 

Read up on it on this page:

 

http://stackoverflow.com/questions/37335/how-to-deal-with-java-lang-outofmemoryerror-java-heap-space-error-64mb-heap

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