How to reduce the eclipse memory usage? Posted by SmartCoder on Thursday January 22, 2015 @12:36AM from the self-post dept. Hi guys, I start a new empty project with eclipse . then the memory usage nearly up to 360M. what should i do ? ( 7 comments | 2 points | on HN )
I'd recommend these args which save memory:
-server This slows startup time but payoff is greater optimization.
-XX:+AggressiveOpts Flips on a variety of options that increase performance.
-XX:MinHeapFreeRatio=1 Lets the JRE give as much RAM as possible back to the OS.
-XX:MaxHeapFreeRatio=2 Lets the JRE give as much RAM as possible back to the OS.
-XX:+UseSerialGC Old-fashioned 'stops the world' garbage collection, but it's the best GC for guaranteeing least memory usage.
360 megs is a rounding error on anything made in the last 7 years.
https://www.jetbrains.com/idea/buy/license-matrix.jsp