falador1 2 Share Posted March 13, 2021 (edited) 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 But when I open up task manager Windows says its using more. I remember that I used 512MB limit before. Please help! Edited March 14, 2021 by falador1 Link to comment Share on other sites More sharing options...
Neffarion 469 Share Posted March 13, 2021 I think it might be an issue with Hotspot JVM and Windows Try uninstalling your current java and install JDK 8 with OpenJ9 JVM (https://adoptopenjdk.net/?variant=openjdk8&jvmVariant=openj9) Talos and falador1 2 Link to comment Share on other sites More sharing options...
falador1 2 Author Share Posted March 14, 2021 Thanks for the response. Will do! Link to comment Share on other sites More sharing options...
falador1 2 Author Share Posted March 14, 2021 Update/Bump I followed these steps Download and Installed. Removed old Java and Changed the ENV variables to for Path and JAVA_HOME New Java version above Removed Client.jar and redownloaded via DBLauncher.jar (Note -- I get Outdated java warning when starting up) Magic! Thanks! rune adam43 1 Link to comment Share on other sites More sharing options...
bap 18 Share Posted March 22, 2021 (edited) 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 March 22, 2021 by notsmile See Edit Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now