Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
rightryan

Just Another Dumb Heap Size Question

Recommended Posts

Heap Size = Dedicated RAM? Increments of 1024?

Im operating on a 2011 iMac 21.5":

  • 8gb of RAM
  • 2.5 GHz Intel Core i5
  • AMD Radeon HD 6750M 512 MB

Need to run 6 bots, 5 gold miners and 1 mule. Like I said, this is prob a dumb question. Somewhere in my only mere weeks of gold farming, I missed something about heap size and its direct affect on the client and my system. I set the Heap Size to 4096 after incrementally increasing to see if there was a noticeable difference, seems there is but is it necessary? Pros and Cons? Reliability and Consistancy of bot instances?

If someone could take 2 minutes and clarify my cloudy mind after a long day of website building, I think I might quit my job and give self employment a try before the economy tanks again in a few years.... I'll prob do that either way though

Share this post


Link to post
Share on other sites
35 minutes ago, rightryan said:

Heap Size = Dedicated RAM? Increments of 1024?

Im operating on a 2011 iMac 21.5":

  • 8gb of RAM
  • 2.5 GHz Intel Core i5
  • AMD Radeon HD 6750M 512 MB

Need to run 6 bots, 5 gold miners and 1 mule. Like I said, this is prob a dumb question. Somewhere in my only mere weeks of gold farming, I missed something about heap size and its direct affect on the client and my system. I set the Heap Size to 4096 after incrementally increasing to see if there was a noticeable difference, seems there is but is it necessary? Pros and Cons? Reliability and Consistancy of bot instances?

If someone could take 2 minutes and clarify my cloudy mind after a long day of website building, I think I might quit my job and give self employment a try before the economy tanks again in a few years.... I'll prob do that either way though

I would say the recommended amount for each bot is 256mb. 6 accounts x 256mb = 1536mb of ram allocated. Personally I do 300mb for each account, hope this helps :)

Share this post


Link to post
Share on other sites

Yes it does, thank you. So the Heap Size upon initial start up is what it's going to dedicate per Client as you open them?

I keep seeing "Clients" and "Instances". I probably already have every piece of the puzzle I need, I seemed to have misplaced the box with the picture on it sometime during my post workday intoxication.

Share this post


Link to post
Share on other sites
4 minutes ago, rightryan said:

Yes it does, thank you. So the Heap Size upon initial start up is what it's going to dedicate per Client as you open them?

I keep seeing "Clients" and "Instances". I probably already have every piece of the puzzle I need, I seemed to have misplaced the box with the picture on it sometime during my post workday intoxication.

Clients are what you open normally on your desktop, instances are the tabs that allow for multiple accounts to be ran inside the client. You can set a client to have a set allocated amount of ram when starting it up, and depending on how many instances you would like to run inside the client, adjust the heap size accordingly :)

Edited by coffeedog

Share this post


Link to post
Share on other sites
8 minutes ago, YoHoJo said:

Some recs in the link below.

Many people like running 1 tab per client.

 

 

7 minutes ago, coffeedog said:

Clients are what you open normally on your desktop, instances are the tabs that allow for multiple accounts to be ran inside the client. You can set a client to have a set allocated amount of ram when starting it up, and depending on how many instances you would like to run inside the client, adjust the heap size accordingly :)

Thank you! My next question is a matter of preference in both of your experiences as more experience botters than myself.

Pros and Cons of Multiple Instance per Client vs. Multiple Clients with 1 instance:

CPU usage? Reliability and consistency of Clients and Bots? Which way would you guys recommend with my current iMac specs?

Share this post


Link to post
Share on other sites
13 minutes ago, rightryan said:

 

Thank you! My next question is a matter of preference in both of your experiences as more experience botters than myself.

Pros and Cons of Multiple Instance per Client vs. Multiple Clients with 1 instance:

CPU usage? Reliability and consistency of Clients and Bots? Which way would you guys recommend with my current iMac specs?

Personally I run each client with 3-5 instances inside, I know some people who say they have issues with it, but I don't. Everything is trial and error, and you need to keep testing different methods until you figure out what works best for you. What works for other people might not work for you. I would say any bot would run fine on your specs, although I wouldn't recommend running more than 20 bots total. Also a side tip is that the client itself takes up a lot of ram and cpu, and by using instances inside each client rather than having multiple clients with 1 instance each, you can reduce the amount of cpu used, ram is allocated when starting it up so that won't change.

Edited by coffeedog
  • Like 2

Share this post


Link to post
Share on other sites
12 minutes ago, coffeedog said:

Personally I run each client with 3-5 instances inside, I know some people who say they have issues with it, but I don't. Everything is trial and error, and you need to keep testing different methods until you figure out what works best for you. What works for other people might not work for you. I would say any bot would run fine on your specs, although I wouldn't recommend running more than 20 bots total. Also a side tip is that the client itself takes up a lot of ram and cpu, and by using instances inside each client rather than having multiple clients with 1 instance each, you can reduce the amount of cpu used, ram is allocated when starting it up so that won't change.

Great advice. I will do! You guys have been super helpful and I'm blown away with how willing to help you are and how friendly about it you guys are as well. As I'm sure you both are aware, a question like that (I'm going to ask either way) would be an open invite for sarcasm and rude comments (not that I care about the opinions of insecure underage closet nerds with parental issues... sorry that was generalization, shame on me)

Seriously though, I feel very welcome and supported as a newer member to the TriBot community, thank you!

Share this post


Link to post
Share on other sites
4 minutes ago, rightryan said:

Great advice. I will do! You guys have been super helpful and I'm blown away with how willing to help you are and how friendly about it you guys are as well. As I'm sure you both are aware, a question like that (I'm going to ask either way) would be an open invite for sarcasm and rude comments (not that I care about the opinions of insecure underage closet nerds with parental issues... sorry that was generalization, shame on me)

Seriously though, I feel very welcome and supported as a newer member to the TriBot community, thank you!

Everyone has gotta start somewhere :) People who are willing to ask questions and learn from it are always welcome, I mostly learned through sifting the forums and trying stuff out myself. People who just expect others to tell them methods are in for a rough time when they figure out it won't always work for them aswell. Good luck friend.

Share this post


Link to post
Share on other sites
2 minutes ago, coffeedog said:

Everyone has gotta start somewhere :) People who are willing to ask questions and learn from it are always welcome, I mostly learned through sifting the forums and trying stuff out myself. People who just expect others to tell them methods are in for a rough time when they figure out it won't always work for them aswell. Good luck friend.

Absolutely! I've actually got a long background in computers and networking, webpage development etc. but a lot of this specific area is new ground or forgotten knowledge from the academy days. Looking to learn this software and client in and out and later get into scripting, cant be all that far off from webpage development considering I hear its all Java. Thanks again!

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.

Sign in to follow this  

  • Our picks

    • This update features:

      Fixed broken hooks from today's update


      Fix wilderness level with RuneLite (Thanks @Todd)


      Add support for Kotlin .class files in scripts (Thanks @wastedbro)


      Overhaul Inventory API (Thanks @wastedbro)


      Add List support for common methods


      Change method grouping to make more sense (by functionality)


      Refactor methods to utilize Java 8 streams instead of cumbersome loops




      Recognize chatbox minimization (Thanks @JoeDezzy1)


      Fix Screen#isInViewport when NPC chat is open (Thanks @JoeDezzy1)


      Fix login bot bugs (Thanks @erickho123)


      Fix hint arrow return values (Thanks @Encoded)


      Fix depositAllExcept functionality (Thanks @wastedbro)


      Change containing box interface bound and adjust for Y values (Thanks @erickho123)
        • Like
      • 150 replies
    • This release will:

      Fix prayers and world hopper API (Thanks @JoeDezzy1 and @erickho123)


      Improve banking API (Thanks @Encoded)


      Adds methods for returning and using Java Lists, rather than arrays


      Slightly randomizes some hardcoded behaviour


      Removes sleeps from waitConditions; the efficiency saving potential is negligible in these use-cases, therefore cleaner code is preferable


      Other back-end improvements





      Note: If you are using LG, please restart both the RS client and TRiBot.
        • Sad
        • Haha
        • Thanks
        • Like
      • 90 replies
    • This release will:

      Add new internal framework for capturing exceptions


      Fix issue with not selecting the last column in world hopper (Thanks @Todd)


      Add a message about pin usage in Banking#openBank (Thanks @Todd)


      Disable the firewall by default (Thanks @Todd)


      Fix handling of the welcome screen after login (Thanks @Encoded)


      Fix wrong amount bank withdrawal (Thanks @Encoded)


      Fix Screen#isInViewport


      Fix Game#isInViewport (Thanks @Encoded)


      Call onBreakEnd for ListenerManager Breaking Listeners (Thanks @Encoded)


      Fix Prayer#getPrayerPoints NumberFormatException (Thanks @JoeDezzy1)



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

      Fix LG for both OSBuddy and RuneLite


      Fix issue where the resizable client isn't able to be made smaller (Thanks @JoeDezzy1)


      Fix detection of the logout game tab when resizable mode and side panels are enabled (Thanks @JoeDezzy1)


      Add initial support for Sentry to allow us to identify and easily debug exceptions happening with all TRiBot users


      Add methods to determine if the bank is actually loaded, and not just the overarching interface (Thanks @wastedbro)



      Upcoming updates:

      Improved CLI support


      Full Sentry support


      Much more
        • Like
      • 64 replies
    • This release will:

      Fix NPE in Camera API (Thanks @wastedbro)


      Update deposit box interface ids (Thanks @Encoded)


      Add various bank methods (Thanks @wastedbro)


      Banking#getWithdrawXQuantity


      Banking#getDefaultWithdrawQuantity


      Banking#arePlaceholdersOn




      Fix resizeable minimap bug (Thanks @wastedbro)


      Remove Java 8 requirement


      Please note: TRiBot is not yet fully compatible with Java 10+




      Fix the break handler issues by ensuring the break handler thread never gets paused


      Fix broken settings hooks



      Upcoming updates:

      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Like
      • 68 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...