Friday, 17 February 2012

Setting Eclipse Memory Size

You working in eclipse means  some time that hangs.Because of not enough memory. Initially in eclipse.ini file memory is like this

-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx 512m

that depend on different Operating System.

        Among other things, this sets the heap space to 40MB initially and a maximum of 512MB, and also specifies a maximum PermGen size of 256MB.

        A max heap of 512MB might be OK for some users, but it's often necessary to bump that value up for large project sets or when some third-party plugins are installed.

      So You need  increase memory size 1024MB.It enough for users.Or you increase above 1024MB.




-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx "YOUR MEMORY SIZE HERE "m

If you increase memory then eclipse works fine.








No comments:

Post a Comment