VP consumes a lot of energy /much more than other apps/, even though it’s minimised.
Is it possible to make VP/java more energy efficient?
VP: 17.1, MacOS 11.7.7
I believe have found clue - VP forces switch to discrete GPU.
https://bugs.openjdk.org/browse/JDK-8258918
Thanks for your message and your finding. May I know have you try adding NSSupportsAutomaticGraphicsSwitching to Info.plist and is the power consumption improved?
Yes it’s the solution, after few days of tests I can tell that it resolve my problems.
To summarise: the issue with high energy consumption comes from that Java is forcing a switch to a discrete GPU.
Resolution: add to “info.plist” key “NSSupportsAutomaticGraphicsSwitching” == “yes” (my example below).
On the MacOS “info.plist” is located in the root of the app package (right click on VisualParadigm.app and select: “Show Package Contents”).
Ps. observed no performance impact or any other disadvantages
<plist version="0.9">
<dict>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<string>yes</string>
Robert