Jump to content

Reducing CPU and Memory Usage

Recommended Posts

This tutorial will teach users how to reduce CPU usage.






  1. Client Paint Delay
    • This settings controls how much delay TRiBot should give the client with every frame. The more to the left, the higher the FPS, resulting in more CPU being used. The more to the right, the lower the FPS, resulting in less CPU being used.
    • I recommend using between 40-100ms delay, depending on how good your processor is and if you want to save CPU. For my desktop, TRiBot uses about 6% CPU on average with 40ms delay. I'm not trying to run as many bots as I can, so I leave it at 40ms.
  2. Client Sleep Modifier
    • The more to the left, the more CPU usage. The more to right right, the lower the CPU usage. This setting is hardly even used within TRiBot, so just leave it at 1.0.
  3. Lite Mode
    • Use Lite Mode if you want to reduce CPU/memory usage.
  4. Minimize TRiBot When Not Interacting With It
    • Minimizing TRiBot will lower the CPU usage. If you aren't interacting with TRiBot, please minimize TRiBot.
  5. Max Heap Size
    • This controls how much memory you allow the Java Virtual Machine to use.
    • Please do not use more than 256mb per client that you run. Ex: Don't use more than 256mb if you are only running one client. Do not use more than 512mb if you are only running two clients. Do not use more than 1024mb if you are only running four clients.
    • Try using this formula for the amount you should allocate: 256MB + ((amount of clients - 1) * 128MB)
      • Warning: This formula isn't perfect.
    • The higher you set this value to, the more amount of RAM the Java Virtual Machine will use. If you give one client 1024MB of a heap size, expect higher RAM usage than you would when using 256MB.
      • TRiBot does not directly handle memory usage and allocation. The Java Virtual Machine is responsible for handling memory, and in a very complex way.
  • Like 17

Share this post

Link to post
Share on other sites

Why shouldn't I use more than 256mb when I have 1 client open. What will really happen if i have it on 1024mb? I Always seem to have it on 1024mb, and I don't see any problems with it running. (6GB RAM)


Using more gives the potential for the Java Virtual Machine to consume more. But it the memory usage doesn't bother or affect you, then feel free to continue using 1024mb.

Share this post

Link to post
Share on other sites

Did you follow the guide linked above?yes
What is the CPU usage before you start a script?15 to 25 percent
What is the CPU usage after you start a script? 95 to 100 percent
What script are you using? whunter
What version of TRiBot are you using? 1.79
What version of Java is TRiBot using? the latest version of java
What operating system are you using? windows 7 and 8 tried both
Do you experience high CPU usage with other scripts? yes
What is the "Max Heap Size" set to as defined in the TRiBot Login? 256
What is your Client Paint Delay? 40
Are you running lite mode?yes
Do you minimize TRiBot while botting?yes


I'm getting 100 percent cpu usage when only running 8 bots on a fx 8350 processor so something is obviously is going on here. Normally i would have at the most 30 to 40 percent cpu usage when running 8 bots. I've tried everything and talked to my friends and there having this same problem. After 10 or 15minutes after ive started my script my cpu usage just skyrockets to 95 to 100 percent. 

Share this post

Link to post
Share on other sites

for some reason, despite trying every method in enhancing "client" and settings changing and changed, I never had things modifed to at least Bot for more than 12 hours. Is there something with my account or something?

I don't understand what you are saying/asking here?

Share this post

Link to post
Share on other sites

I don't understand what you are saying/asking here?

thank you for replying. Well, I don't know how to fix things with TriBot.. Well,... Here's one of my troubles I have with Botting. Randoms, it seems to me even though after logging on, went to "Scripts" and click on the Random Responder thing, it appears to not respond with the Frog. I'm not even sure if this is the best place to report this to.. How do I fix issues like these?

Share this post

Link to post
Share on other sites

thank you for replying. Well, I don't know how to fix things with TriBot.. Well,... Here's one of my troubles I have with Botting. Randoms, it seems to me even though after logging on, went to "Scripts" and click on the Random Responder thing, it appears to not respond with the Frog. I'm not even sure if this is the best place to report this to.. How do I fix issues like these?


That's the auto responder, that's an option for the bot to auto respond to messages in the chatbox, it's unrelated to random events.

If you get stuck in a random event go to this topic to report it: https://tribot.org/forums/index.php?/topic/14490-random-event-solvers-need-accounts-information/

Edited by Nashua

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By LilAnge
      As the title suggests, when running the client with looking glass onto osbuddy, the FPS for tribot (only tribot not osbuddy also) tanks majorly.
      Does anyone know if theres a specific reason for this happening? It's definitely not my machine as the specs are totally OP for 8+ osbuddy clients. I'm currently using 14% of my CPU and 51% memory.
      Thanks in advance for the help
    • By cwilson0005
      Hi there I'm having a problem when I'm using a script with Tribot where I will see a line in the debug section of the program that says "java.lang.OutOfMemoryError: Java heap space" and the script will end. 

      Java version: jre1.8.0_161

      I've uninstalled all previous versions of java and then reinstalled to version 8, I've tried using OSBuddy and Looking Glass but I've had no luck. 

      I read some advice about dumping the heap and I've tried to do that but the option for heap dump is greyed out for me in VisualVM(see screenshot).

      Any help is welcome

    • By segama
      got a pretty beast comp but when using LG it just got pretty framey all the sudden after a few moments of use
    • By GoofyMcGoof
      This isn't going to be comprehensive or backed by expert knowledge, it's just a few general things I learned from having a low performance PC in the past
      1. Physically cleaning your pc - pcs collect a lot of dust and slow down the fans and suffocate your CPU making it run hotter, when it runs hotter your computer limits it's performance in an attempt to stop it from over heating. The best way to do this is get a can of compressed air, open your pc and spray all of the dust out. If you're really paranoid about breaking something you can touch grounded metal like a sink pipe or any metal that is grounded to discharge your static electricity lol. also try and keep your fans still when you're spraying them, having them spin from the compressed air could wear on the bearings
      Here are ways you should not do it: use a leaf blower, or a vacuum this risks the chance of creating static and messing up your computers motherboard, also do not get any water on it, don't try and clean things with a wet rag (obvious). 
      2. Tribot Settings - Visit this guide to tweak tri bot directly, I can attest that changing the client paint delay from 0 to 60 has made my cpu usage go from 100% to ~60%
      3. Startup - Press ctrl + r and type msconfig and go to start up tab, this will control what starts up with your computer, a lot of times people's computers are slow because a lot of unnecessary programs start up. You can remove everything here unless you truly want something to automatically start up
      4. Services - This step is similar to the last in that you will be removing more things that cause stuff to run on your computer. http://www.blackviper.com/service-configurations/ this link will show you what services are safe to remove, be more careful here then you were in start up because some things can actually mess stuff up. You can configure services by either going to msconfig and going to services tab and then checking "hide all microsoft services" this will hide all the important services that you don't want to disable. I recommend you search for "services" in windows and use that instead, black viper guides will go into more detail for all of this
      5. Defragging - You can search for the windows defrag tool or you can download a third party one like https://www.auslogics.com/en/software/disk-defrag/, I use the third party one and use the options optimize & defrag, this will clean up your harddrive and make things load faster
      6. CCleaner - You can use this https://www.piriform.com/ccleaner/download to clear cache and old unused files to free up space, it also has a registry scanner but in my experience reg cleaners do little to nothing when it comes to increasing performance
      If anyone has anything they want to add or clarify let me know
    • By beake
      When running tribot, it uses a huge amount of CPU and the fan is constantly running... is there any way i can reduce this?
      I use a mac,  2.6 GHz Intel Core i7 processor and 8 GB 1600 MHz DDR3 memory 
    • By AidenEsco
      Hey guys! I'm looking to get started with a gold farm and making my own scripts, but I need some help using TRiBot. 
      Relevant comp specs:
      8bg ddr4 ram
      Windows 10 Pro 64 bit
      Raedon R9 390
      First of all, I was under the impression that with an i5-6600k I would be able to run atleast 20 bots, but I get to 100% cpu with just 5 bots open, and thats with TRiBot minimized and graphics disabled. I know somethings wrong but no idea how to fix it.
      Also, does it make a difference if I use one client with 5 tabs or 5 clients with one tab? So far ive been using 1 client with 5 tabs, but if that's the issue with cpu ill change.
      Ive been told to use 512 mb per bot, but if i get to my endgame goal of 20 bots form my pc, wont that be too much? How much ram should I be allocating per bot?
      I dislike the suicide botting method, I prefer long term accounts, so I've been looking into combat such as GDK and Wyverns and possibly writing my own script (I have a decent knowledge of java, just need to learn API). But to keep these long term accounts unbanned for as long as possible, whats reccommended? Ive heard no more than 8 hours a day with a break or two, but that still seems a bit risky. I was thinking about 2-3 hrs in morning and 2-3 at night, does that sound like a good strategy?
      For proxies, Ive tried Proxyfish and I mean I got working proxies, but somewhat expensive and not sure if I should continue buying there, whats the best place to buy proxies? socks5proxies.net also looks good, especially since theyre focused on TRiBot, anyone had experience with them?
      Also, how many accounts would it be safe to run per proxy? So far ive only been doing one proxy one acc, but until I start seeing profits I feel like I'm just spending a bunch of money... I was thinking 2-3 accts per proxy, what do you guys think about that?
      When I open TRiBot, my Java version always goes to the JDK, even though I have set my JAVA_HOME variable to the jre I have installed, any advice on that? Possibly a reason for more cpu usage?
      Thank you in advance for all your help, I look forward to botting and sharing my experiences with you guys!
  • Our picks

    • This release will:

      Fix bytecode manipulation in order to prevent the modification of parameters within the Filter and Condition classes themselves (thanks @wastedbro)

      Fix NPE caused by non-null value in GE API (thanks @erickho123)

      Add and fix equals methods for api2007.types (thanks @JoeDezzy1)

      Modify Mouse#leaveGame to make the mouse leave the game from top, left, right, or bottom (thanks @erickho123)

      Add Entrana area to Ships API (thanks @erickho123)

      Fix raid prayers index/settings in Prayer API (thanks @erickho123)

      Upcoming updates:

      Break handler bug fix

      Improved CLI support

      Much more

      Note: If you are using LG, please restart both the RS client and TRiBot
        • Like
      • 27 replies
    • This update will:

      Implement better canvas locking/synchronization mechanism

      Fix small Login API bug

      Remove the requirement for xbooting Java classes

      Use ExecutorService to perform canvas work in parallel

      Add "Account Management" game tab to GameTab API (thanks @Encoded)

      Fix NPCChat#getMessage (thanks @Encoded )

      Fix NPCChat#selectOption (thanks @Encoded )

      Fix Banking API after today's update (thanks @Encoded )

      Fix in-game world hopper after today's update (thanks @Encoded )

      Upcoming updates:

      Break handler bug fix

      Improved CLI support

      Much more

      Note: If you are using LG, please restart both the RS client and TRiBot
        • Thanks
        • Like
      • 38 replies
    • This release includes:

      Fix updater bug which was causing a bunch of issues

      TRiBot will no longer require manual hook fixes every time the RS client updates - the updater has been fully patched for objects

      Hooked login fields

      Improved the login bot

      Ability to recognize the banned/locked messages again

      Ability to read the current input for username and password fields

      If the username or password is already entered correctly, it won't be erased

      If only part of the username or password is already entered correctly, it won't be erased. The login bot will fill in what's missing.

      If there are a few invalid characters after a valid substring of your username/password, only (approximately) those invalid characters will be erased. The login bot will then proceed to fill in the missing characters.

      Coming soon:

      Skull icon fix

      Improve screen rate and responsiveness of the RS client (both regular client and LG)

      Much more
        • Thanks
        • Like
      • 33 replies
    • This release includes:

      Fix shift clicking option selecting

      Fix high paint delay settings saving

      Update prayer IDs for the quick select menu

      Remove RS3 support

      Fix hooks

      RS3 Support Removed

      The RS3 client hasn't been updated since our Old-School version of TRiBot was released, as many of you may have noticed. Keeping all of the RS3 code in the client made the client as a whole harder to maintain, larger, slower, and messier. As hardly anyone still uses the RS3 client, and since the RS3 API was hardly functioning, we made the decision to completely remove it from TRiBot.

      For the average user, this means that the client will be smaller, cleaner, and faster. Future updates will also take less work meaning there will be more frequent updates.

      If you were one of the few users still using the RS3 client, we apologize for the inconvenience. No future support for RS3 is planned. There are many other botting clients which has support for RS3, so we recommend finding an alternative if you wish to continue botting on RS3.
        • Thanks
        • Like
      • 25 replies
    • Please welcome our new developers, @JoeDezzy1, @erickho123, @Encoded, and @wastedbro.

      These members will be responsible for working on, maintaining, and improving TRiBot.

      This means that bug fixes and improvements will now come at a much faster pace! We're committed to providing users with the best botting experience possible!
        • Thanks
        • Like
      • 30 replies
  • Recently Browsing   0 members

    No registered users viewing this page.