Answer the question
In order to leave comments, you need to log in
What is the best idea 2017.1.4 configuration for battery life?
Hello.
I have a laptop with OS Windiws 10, jdk1.8.0_131, Intellig IDEA 2017.1.4 build 4694.
With hardware CPU Intel Core i5 2520 4 threads, 16 Gb Ram, SSD 250 gb.
I want to set up the development environment in such a way that I can work on the laptop from the battery as much as possible (the current one, with the settings out of the box, allows me to work for about 1 hour).
vmoptions example for 64 bit
-Xms128m
-Xmx750m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
Answer the question
In order to leave comments, you need to log in
Well, you can turn off indexing, tooltips, validation, and more. It will work not 1 hour, but 1 hour and 5 minutes. Just write less code, and spend 2 times more time catching errors. You checkers or go?
You can tweak the OS a little: turn off any animation, WiFi, Bluetooth.
More cardinal advice: change the laptop to a more energy efficient one, or at least a fresh battery.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question