Mechagoober Posted June 15, 2016 Posted June 15, 2016 (edited) 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 June 15, 2016 by Kitten Krazy
Hi G00gle Posted June 15, 2016 Posted June 15, 2016 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
Huz Posted June 15, 2016 Posted June 15, 2016 start osbot from cmd and allocate more memory Had the same issue with the same script 1