How to reduce the eclipse memory usage?
Hi guys, I start a new empty project with eclipse . then the memory usage nearly up to 360M. what should i do ?
3 comments
In eclipse.ini you'll see the JRE VM args.
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.
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.
Buy more RAM.
360 megs is a rounding error on anything made in the last 7 years.
360 megs is a rounding error on anything made in the last 7 years.
Yeah, the best way.
Use IntelliJ and save yourself much frustration in the long run.
Yes, absolutely IntelliJ is far better than eclipse in terms of memory consumption and stability.
can i share the personal licence in company ?
You cannot share a personal license. A commercial license would allowed the license to be shared across multiple users.
https://www.jetbrains.com/idea/buy/license-matrix.jsp
https://www.jetbrains.com/idea/buy/license-matrix.jsp