Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Eclipse Out Of Memory (jvm & ram memory size)(Eclipse crash with error Out of memory jvm)
Eclipse Out Of Memory (jvm & ram memory size) [message #637538] Sat, 06 November 2010 06:46 Go to next message
Eclipse UserFriend
I have 2Gb memory ram, for non crashing program here is the optimal configuration for the eclipse.ini file:

CONFIGURATION FOR COMPUTES WITH 2 GB MAX - RAM MEMORY SIZE

-vmargs
-Dosgi.requiredJavaVersion=1.7
-Declipse.p2.unsignedPolicy=allow
-Xms128m
-Xmx384m
-Xss4m
-XX:PermSize=128m
-XX:MaxPermSize=384m
-XX:CompileThreshold=5
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=70
-XX:+CMSIncrementalPacing
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+UseFastAccessorMethods

Enjoy it now. (it could runs a litle slow but it never crash for sure)
Re: Eclipse Out Of Memory (jvm & ram memory size) [message #637540 is a reply to message #637538] Sat, 06 November 2010 06:59 Go to previous message
Eclipse UserFriend
Hi

Am 06.11.2010 11:46, schrieb jmj71:
> CONFIGURATION FOR COMPUTES WITH 2 GB MAX - RAM MEMORY SIZE
>
> -vmargs -Dosgi.requiredJavaVersion=1.7 -Declipse.p2.unsignedPolicy=allow
> -Xms128m -Xmx384m -Xss4m -XX:PermSize=128m -XX:MaxPermSize=384m
> -XX:CompileThreshold=5 -XX:MaxGCPauseMillis=10 -XX:MaxHeapFreeRatio=70
> -XX:+CMSIncrementalPacing -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC
> -XX:+UseFastAccessorMethods
>
> Enjoy it now. (it could runs a litle slow but it never crash for sure)

How did you verified this? How can you say that it would never crash?
Can you explain which of these arguments is responsible for
"never-crah-for-sure"?

Kind regards,
Yves
Previous Topic:Reading Command Line Parameters in RCP App
Next Topic:repeated crash in 3.6.1 after 2 min of starting
Goto Forum:
  


Current Time: Tue Jul 01 14:15:44 EDT 2025

Powered by FUDForum. Page generated in 0.04112 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top