Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
TRiLeZ

Reducing CPU and Memory Usage

Recommended Posts

This tutorial will teach users how to reduce CPU usage.

 

hrgwu.jpg

 

ZP67u.jpg

 

  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.
    • MOST SCRIPTS DON'T NEED 40 FPS TO BOT. MOST WILL BE FINE WITH 4-10 FPS. NO, THE CLIENT DOES NOT LAG WHEN YOU SLIDE THE BAR TO THE RIGHT. THAT IS DELAY, WHICH REDUCES CPU USAGE.
    • 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

hey sometimes when botting i get lag and i find this

 

855ed7d41f62ec06b76a47dee883610e.png

 

as im sure u know theres only ONE java.exe in processes,

 

but for some reason sometimes theres more, 3 or 4? and i can close them but i never know which one is tribot,

 

but some how multiply!!! like rabbits!!!

any ideas on how to stop this? xx

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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 wastedbro
      wastedSmither AIO
       

       
      Link:
       
      Features:
      - Multi Location for smelting (Falador, Al Kharid, Port Phasmatys)
      - Supports smelting of every bar, and can do cannonballs
      - Ring of forging support. Withdraws them from your bank and equips them.
      - Smiths any item. Daggers, knives, arrow tips, dart tips, 2h swords, nails, etc, etc.
      - Uses any type of bar for smithing. Bronze-Runite
      - Stops the script at a certain level so you can train carefully. (set at 100 to never stop)
      - Opens doors when needed
      - Starts from anywhere.
       
      Antiban Features:
      - ABCL 10
      - Randomizes the number it sends when asked how many bars to smelt or smith, instead of typing in the same number or the number of bars
      - Calculate, human-like wait times between changes in the interfaces, such as when the "Enter Amount" box appears, to simulate human reaction time.
      - Uses the "choose all" option in the bank for when the script needs to fill its inventory with an item.
      - Uses the "Make 10" option when smithing/smelting if the script has under 10 items
      - Smart algorithm to determine when the character is smithing/smelting. It instantly realizes it stopped smelting when a level is gained, etc.
      - *** Possible future update: Walking using the screen AND minimap ***
       
       
      Pricing + Link:
       
      - $8 / Lifetime / 20 instances (practically unlimited) -
       
       
      F.A.Q.:
       
      Q. Why use this over other smithing/smelting scripts?
      A. This script is designed to be the absolute best in efficiency, durability, and features. I always plan on having more features than the competition, and maintain the highest levels of antiban. Due to this being premium, I plan on keeping it 100% functional, 100% of the time if possible.
       
       
       
      * All feedback, suggestions, comments, etc are MUCH appreciated. 
    • 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 pansongvita
      Babysit as in i will move mouse and click stuffs at random times while the bot do their bot.
    • 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:
      i5-6600k
      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!
      @Usa
      @TRiLeZ
      @iFluffee
  • Our picks

    • [CONTEST ANNOUNCEMENT] 2019 Botter's Choice Awards
      2019 Botter’s Choice Awards

      To celebrate the launch of our TRiBot Official RuneScape Bot Blog,

      we’re doing a giveaway! 

      The TRiBot Official RuneScape Bot Blog: 

      Teaching you how to do more advanced botting, faster.
      Contest Details

      Prize: 3 winners will be selected to win 25 TRiBot credits.

      How to enter:

      Respond to this forum post by November 12th tagging the thread for: 

      Your favorite script

      Provide a brief explanation (1-2 sentences) why you think that script should be put in the top 5. 

      Who can enter?

      Botter’s who are not currently scripters. Sorry scripters, the people are going to vote. Your contest is here.

      The top 5 in each category will be showcased on our TRiBot Official RuneScape Bot Blog in a “People’s Choice” section and promoted across the TRiBot website. 

      -- Credits will be awarded based on thoughtfulness and humor -- 

      Bonus points

      Use a meme in your explanation. Because we all love memes.

      *no purchase necessary. Winners will be announced on Friday, November 15, 2019 at 4:00 p.m. on our News and Announcements forum. 

      -- Vote Below -- 
        • Like
      • 28 replies
    • [READ TO THE END FOR A TEASER]

      I've noticed some new TRiBotters have had some troubles finding out sources of how to do certain things, such as using advanced scripts and often get lost in the forums.

      We are still getting posts asking where to start, what to do, recommended scripts, etc. 

      As many of you know, I am new to the team, and had troubles myself learning how to bot, let alone script. 

      So, what our team decided to do was make it easier to learn how to bot, how to script, and just become an overall better botter and scripter faster. 

      As some of you might have seen, I've posted 3 new blogs, you can check it out by clicking on the following picture or here.


      These first 3 blogs are the first of many blogs that will be TRiBot official. They are encouraged to be challenged, improved upon and act as A Best Practices Guide for Botters.

      What information would you like to see in the blogs?

      👇 [TEASER] 👇

      .

      .

      .

      We are going to be hosting a  CONTEST  this  OCTOBER.

      Its scary to think how soon you'll find out.👻

      Stay tuned.


      - RileyZ
      • 8 replies
    • Today marks a big day for TRiBot! To make it easier for users to use TRiBot, we've created installers available for every platform! These installers are all bundled with the latest version of OpenJDK 1.8 (Java 😎, which is LG compatible.

      Using TRiBot is now easy. Simply download the installer for your platform, install TRiBot, and run it. The TRiBot Loader will correctly identify the bundled JDK so there's no need to change the Java selection.

      Windows

      EXE installer: TRiBot-windows-x64-4.0.3.exe


      MSI installer: TRiBot-windows-x64-4.0.3.msi


      Portable version: TRiBot-windows-x64-4.0.3.zip


      Mac OS

      Installer: TRiBot-macos-4.0.3.dmg


      Portable version: TRiBot-macos-4.0.3.tgz


      Unix/Linux

      Installer: TRiBot-unix-4.0.3.sh


      RPM installer (CentOS/Fedora): TRiBot-linux-4.0.3.rpm


      DEB installer (Debian): TRiBot-linux-4.0.3.deb


      Portable version: TRiBot-unix-4.0.3.tar.gz


      Platform Independent

      JAR file: tribot-loader-4.0.3.jar


      Note that this jar file does not include the bundled JDK.



      Windows and Mac OS users may notice a warning message stating that the installer/application is un-recognized or un-trusted. Please ignore this message and proceed with running the installer/application. We need to acquire a code signing certificate so that we can sign the installers letting the operating system know that these files can be trusted. It will take a week or more to acquire one, so please hold tight.

      Other notable changes to the TRiBot Loader:

      Support getting the version from OpenJDK distributions


      Add check for bundled JDK


      Copy OpenJDK tools.jar to the bundled JDK if not present


      Set the current java as the first available list entry


      Ignore Java versions which are symbolic links


      Make the bundled JDK the preferred Java version


      Update icon images


      Reduce the number of HTTP calls
        • Thanks
        • Like
      • 22 replies
    • TRiBot is looking to improve a lot of its customer relationship management, customer on boarding process, customer experience, design elements, community engagement and pretty much everything else you can imagine when it comes to marketing.

      Our goal: To ensure that the marketing done TRULY reflects the experience and does not shine an inaccurate light on what TRiBot is lacking in.

      So I ask, what do you love about TRiBot and what do you hate about TRiBot? What does O S Bot, Rune M8, PowR Bot and Dre amBot do better? (yes I purposely didn't spell it right 😂).

      Love, 

      RileyZ
        • Like
      • 18 replies
    • Hello TRiBot,

      Today we have a significant release that has been in the works for the last month addressing several key issues, features and bugs in the backlog.

      With these changes, we are also including a new TRiBot Loader which will allow you to select any version that is released. This adds the flexibility of allowing you to revert to a previous version should an issue arise, run development only builds, view an accurate change log between versions etc. we are very proud to offer this feature and think it will add a lot more functionality down the road as we continue to release new versions.

      These changes include 80+ commits by our development team, a list of them is summarized below and also available for your viewing pleasure in the new TRiBot Loader.

      In addition, we have taken additional steps to improve as a development team by adding continuous integration and deployment into our workflow to assist in delivering timely releases such as bug fixes as well as new features on a weekly basis depending on our development cycle.
        • Thanks
        • Like
      • 39 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...