falador1 2 Share Posted March 13, 2021 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! Link to comment Share on other sites More sharing options...
Neffarion 485 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) 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! Link to comment Share on other sites More sharing options...
bap 18 Share Posted March 22, 2021 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 . Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.