Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Dreambot Using more memory than DBLauncher specified


    falador1
     Share

    Recommended Posts

    UPDATE: Installing new java from Open J9 helped. Some reason Oracle's and Hot's were no good.

     

    Hey all,

    Been working on a couple of bots and getting the memory and CPU usage as low as possible. I have a couple of questions on what the launcher says vs what Windows says its using.

    When I open up the launcher and select "Maximum memory usage " and set it to 256MB

    image.png.7239209e72a24250d6d9cde68d6d91d2.png

    But when I open up task manager Windows says its using more.

    image.png.30597bc3ab0f5ed689e2b46c469abafe.png

     

    I remember that I used 512MB limit before. Please help!

    image.png

    Edited by falador1
    Link to comment
    Share on other sites

    Update/Bump

    I followed these steps

    image.png.211f9718dbafe2c4a8fea587295e7e74.png

    Download and Installed.

     

    Removed old Java and Changed the ENV variables to

    image.png.d9f3d0a199b9be60957bb82e6f06a546.png

    for Path and JAVA_HOME

    image.thumb.png.aed0101ab7ec84b5f49b1acf3006c1e7.png

    New Java version above

    Removed Client.jar and redownloaded via DBLauncher.jar

    (Note -- I get Outdated java warning when starting up)

    image.png.ad78a3d47c13d701144b47e6297c0f57.png

     

    Magic! Thanks!

     

     

     

    image.png

    Link to comment
    Share on other sites

    • 2 weeks later...

    If you use a profiler (something like JProfiler or VisualVM) it may mess w/ it and cause DB to be unreadable via the profilers. (Btw profilers are better at detecting actual resoruce usage since it detects it at the JVM level :) )

     

    Edit: Just tested it w/ latest version of AdoptOpenJDK 1.8 OpenJ9 and can confirm that VisualVM and JProfiler do NOT work with OpenJ9. I even tried to specify where the JDK is located and still didn't get it to work. Just a heads up for the people who use either profiler to measure resource usage :).

    Edited by notsmile
    See Edit
    Link to comment
    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
     Share

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.