July 23, 201312 yr I have started getting a high cpu warning and i was wondering how do i allocate more of my cpu to work on java?
July 23, 201312 yr x64 systems can allocate as much RAM as they wantx32 systems can allocate up to 1GBSo it is recommended you have a x64 system to allocate as much RAM as possible. Try an leave at least 1GB for the general system processes and stuff like thatIf you're on 32-bit and still want to try this and think it works, go ahead and use thisMake a notepad file, call it osbot.txt or somethingThen put this in it(this is for allcoating 4gb) "c:\then\your\path\to\java" -Xmx4096M -Xms2048M -jar "location-of-osbot.jar" (for me its C:\Program Files\Java\jre7\bin\javaw.exe)So basically, the xmx is your maximum RAM your allocating and your xms is the minimum ram it should use.Here is an example of an actual osbot.txt: "C:\Program Files\Java\jre7\bin\javaw.exe" -Xmx4096 -Xms2048 -jar "C:\users\Daniel\Desktop\OSBot.jar" Once you've done that, rename the file to osbot.bat and run it Remember: 1GB = 1024MB and 0.5GB = 512MBHappy RAM allocating (??? lol) Edited July 23, 201312 yr by ScorpioZ
July 23, 201312 yr Author i tried to save the osbot.txt file in c:/program files (x86)/java/jre/bin/client and it said i need to contact admin to save there, is this the wrong place? i wrote in the file -Xmx14336M -Xms2048M -jar
July 23, 201312 yr x64 systems can allocate as much RAM as they want x32 systems can allocate up to 1GB So it is recommended you have a x64 system to allocate as much RAM as possible. Try an leave at least 1GB for the general system processes and stuff like that If you're on 32-bit and still want to try this and think it works, go ahead and use this Make a notepad file, call it osbot.txt or something Then put this in it(this is for allcoating 4gb) "c:\then\your\path\to\java" -Xmx4096M -Xms2048M -jar "location-of-osbot.jar" (for me its C:\Program Files\Java\jre7\bin\javaw.exe) So basically, the xmx is your maximum RAM your allocating and your xms is the minimum ram it should use. Here is an example of an actual osbot.txt: "C:\Program Files\Java\jre7\bin\javaw.exe" -Xmx4096 -Xms2048 -jar "C:\users\Daniel\Desktop\OSBot.jar" Once you've done that, rename the file to osbot.bat and run it Remember: 1GB = 1024MB and 0.5GB = 512MB Happy RAM allocating (??? lol) He asked to allocate cpu, not ram. OP: You don't need to "allocate more cpu." First, you need to make sure the application fully supports multi-threading. If it doesn't, there's not much you can do except upgrade your processor. We already optimize threading in the osbot client and all you can do is give the process a higher priority via task manager -> processes or upgrade your CPU.
July 24, 201312 yr Author my cpu is AMD Phenom II x4 Is this considered a good processor or would you recommend a better one? also can you set the priority high to be permanent, rather than having to reset it every time i open the client? Edited July 24, 201312 yr by teat