Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse is using too much memory and what is the best configuration? [duplicate]

What I want is the lightest possible version eclipse so that it consumes as low memory as possible when running. Does any one know how to configure eclipse to be as light as possible?

Currently I am using Eclipse STS but I want to ditch it because it uses average 1 GB memory by itself when not running my projects. I am using 64 bit linux platform.

I just do plain Java/Groovy/Grails and Scala web application development and also Javascript debugging HTML/CSS. I am not using any heavy weight application servers.

like image 936
rjc Avatar asked Jul 10 '11 13:07

rjc


People also ask

How do I make Eclipse use less memory?

Close unused projects, close unused perspectives and views. This is a basic to lower memory usage. You can also configure eclipse.

Why is my Java application using so much memory?

Java is also a very high-level Object-Oriented programming language (OOP) which means that while the application code itself is much easier to maintain, the objects that are instantiated will use that much more memory.

How do I add more memory to eclipse?

Right-click your Eclipse shortcut icon to bring up its properties. You need to add the -vmargs argument, and following this, you can specify the minimum and maximum memory allocation for Eclipse (these must come after the -vmargs).


1 Answers

  • remove all unnecessary plugins
  • you can change -Xmx in eclipse ini

look at this question: Getting a lightweight installation of Java Eclipse

like image 184
zacheusz Avatar answered Sep 23 '22 01:09

zacheusz