News for hackers. Stuff that matters.
Re:How to reduce the eclipse memory usage? by logn on Thursday January 22, 2015 @04:32AM (#8928307)
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.

There are no comments on this comment yet.