Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how to allocate more cpu to java?

Featured Replies

I have started getting a high cpu warning and i was wondering how do i allocate more of my cpu to work on java?

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)

Edited by ScorpioZ

  • 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

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

 

 

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.

  • Author

Thank you both of you i appreciate the help :)

  • 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 by teat

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.