Aiban Posted January 3, 2017 Posted January 3, 2017 Dont run 2 tabs it will lag and crash eventually, just run 1 tab or purchase VIP to run 2+
icecake Posted January 4, 2017 Author Posted January 4, 2017 Define really laggy, the client caps fps to reduce cpu usage so maybe that's just it. Those specs should be handling 2 bots just fine Not being able to open options menu and then crashing laggy
Borre Posted January 4, 2017 Posted January 4, 2017 (edited) Not being able to open options menu and then crashing laggy That's not normal, Does it start lagging when you start your script or does it lag with no script running as well? Edited January 4, 2017 by Borre
icecake Posted January 6, 2017 Author Posted January 6, 2017 That's not normal, Does it start lagging when you start your script or does it lag with no script running as well? It lags without script aswell Make a video pls this isnt normal The fighterbot got stuck somehow
Lemons Posted January 7, 2017 Posted January 7, 2017 Simply increase the memory of the JVM: java -jar OSBot.jar -mem 1000 OSBot starts with 500mb of heap space by default, this is fine for 1 script most of the time. To run 2 tabs you need to basically double the heap space, hence '-mem 1000'. The CPU usage is coming from the GC cycle running constantly.
icecake Posted January 7, 2017 Author Posted January 7, 2017 Simply increase the memory of the JVM: java -jar OSBot.jar -mem 1000 OSBot starts with 500mb of heap space by default, this is fine for 1 script most of the time. To run 2 tabs you need to basically double the heap space, hence '-mem 1000'. The CPU usage is coming from the GC cycle running constantly. https://gyazo.com/b0489da01831f303999338f9de922ebc Is this what i'm supposed to type to add memory?
Lemons Posted January 7, 2017 Posted January 7, 2017 https://gyazo.com/b0489da01831f303999338f9de922ebc Is this what i'm supposed to type to add memory? No, run the command I gave from command line. OSBot has a boot loader that takes the JVM args, and spawns a new JVM (without those args). You need to use OSBots parameters: http://i.imgur.com/YcYszFA.png
icecake Posted January 8, 2017 Author Posted January 8, 2017 No, run the command I gave from command line. OSBot has a boot loader that takes the JVM args, and spawns a new JVM (without those args). You need to use OSBots parameters: http://i.imgur.com/YcYszFA.png Tbh i still have no clue about this :l Where do i run the command?
Artifacts Posted January 8, 2017 Posted January 8, 2017 (edited) Tbh i still have no clue about this :l Where do i run the command? I might run in the same problem once I got my new computer installed, so what I would understand from these guidelines: 1. Open Run (Windows+R) 2. type in "cmd" 3. type in java -jar OSBot.jar -mem 1000 Might want to edit some lines according to the other post http://i.imgur.com/YcYszFA.png Edited January 8, 2017 by Artifacts
icecake Posted January 8, 2017 Author Posted January 8, 2017 I might run in the same problem once I got my new computer installed, so what I would understand from these guidelines: 1. Open Run (Windows+R) 2. type in "cmd" 3. type in java -jar OSBot.jar -mem 1000 Might want to edit some lines according to the other post http://i.imgur.com/YcYszFA.png Error: Unable to access jarfile osbot.jar
Artifacts Posted January 8, 2017 Posted January 8, 2017 Error: Unable to access jarfile osbot.jar Thought this could happen, I suppose U could try and define the location: e.g. C:\Users\"YourUsername"\Desktop\OSBot 2.4.107.jar Or where-ever it is located (just find it in explorer and copy the adress)
IHB Posted January 8, 2017 Posted January 8, 2017 could be the scripts, have you tried running with 2 different scripts?
Hayase Posted January 8, 2017 Posted January 8, 2017 (edited) Like another poster said there is not enough default memory to run two tabs in the client. You have to tell the client to use more. In the same directory as your osbot jar make a bat file @echo off title WTF 2 TABZ java -jar "osbot 2.4.107.jar" -mem 2048 pause If it says that java cannot be found or is not a command, you'll have to change it to the full path to java "C:\Program Files\Java\jre1.8.0_111\bin\java.exe" -jar ... Edited January 8, 2017 by Hayase
icecake Posted January 8, 2017 Author Posted January 8, 2017 Thought this could happen, I suppose U could try and define the location: e.g. C:\Users\"YourUsername"\Desktop\OSBot 2.4.107.jar Or where-ever it is located (just find it in explorer and copy the adress) and then add the 'java -jar OSBot.jar -mem 1000' behind it?
Artifacts Posted January 8, 2017 Posted January 8, 2017 Like another poster said there is not enough default memory to run two tabs in the client. You have to tell the client to use more. In the same directory as your osbot jar make a bat file @echo off title WTF 2 TABZ java -jar "osbot 2.4.107.jar" -mem 2048 pause If it says that java cannot be found or is not a command, you'll have to change it to the full path to java "C:\Program Files\Java\jre1.8.0_111\bin\java.exe" -jar ... This is the answer you're looking for. @@icecake