Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:46 Go to next message
jmj71  is currently offline jmj71 Friend
Messages: 1
Registered: November 2010
Junior Member
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 10:59 Go to previous message
Yves Schumann is currently offline Yves SchumannFriend
Messages: 40
Registered: July 2009
Member
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: Fri Sep 20 08:35:15 GMT 2024

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

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

Back to the top