How to reduce the eclipse memory usage? 2 points by SmartCoder 11y ago ↗ HN Hi guys, I start a new empty project with eclipse . then the memory usage nearly up to 360M. what should i do ?
[–] Espressosaurus 11y ago ↗ Buy more RAM.360 megs is a rounding error on anything made in the last 7 years. [–] SmartCoder 11y ago ↗ Yeah, the best way.
[–] douche 11y ago ↗ Use IntelliJ and save yourself much frustration in the long run. [–] SmartCoder 11y ago ↗ can i share the personal licence in company ? [–] alexgaribay 11y ago ↗ 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 [–] aaqureshi 11y ago ↗ Yes, absolutely IntelliJ is far better than eclipse in terms of memory consumption and stability.
[–] SmartCoder 11y ago ↗ can i share the personal licence in company ? [–] alexgaribay 11y ago ↗ 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
[–] alexgaribay 11y ago ↗ 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
[–] aaqureshi 11y ago ↗ Yes, absolutely IntelliJ is far better than eclipse in terms of memory consumption and stability.
[–] logn 11y ago ↗ 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.
7 comments
[ 591 ms ] story [ 397 ms ] thread360 megs is a rounding error on anything made in the last 7 years.
https://www.jetbrains.com/idea/buy/license-matrix.jsp
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.