Out of memory problem [message #500775] |
Sat, 28 November 2009 15:11 |
Amira Messages: 12 Registered: November 2009 |
Junior Member |
|
|
Hi,
How to resolve eclipse out of memory errors . this is my eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200 .v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
500m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms50m
-Xmx900m
i edit many times by increasing -Xmx and XXMaxPermSize
argument without a good result please edit it or tell me the error in this file !
-Xmx900m
[Updated on: Sat, 28 November 2009 15:34] Report message to a moderator
|
|
|
Re: Out of memory problem [message #500811 is a reply to message #500775] |
Sun, 29 November 2009 05:18 |
Walter Harley Messages: 847 Registered: July 2009 |
Senior Member |
|
|
"Amira" <amy_31@live.fr> wrote in message
news:herek5$2vd$1@build.eclipse.org...
> Hi,
> How to resolve eclipse out of memory errors . this is my eclipse.ini:
> -startup
> plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200 .v20090519
> -product
> org.eclipse.epp.package.jee.product
> --launcher.XXMaxPermSize
> 256M
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 500m
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms50m
> -Xmx900m
> i edit many times by increasing -Xmx and XXMaxPermSize
> argument without a good result please edit or tell me the error in this
> file !
> -Xmx900m
>
First off, you seem to have duplicate MaxPermSize entries in that file.
Choose one.
Second, are you running out of heap or out of permgen space? If you're
running out of heap, increasing permgen won't help, and vice versa.
If it's heap that you're running out of, and you turn on the heap status (in
Preferences -> General), does that give you any useful indication of how
close to the limit you're running?
How large is your workspace? (How many projects, how many files roughly?)
For a very large workspace, 900M may still not be large enough, for doing
J2EE work.
What JRE version are you running on? (It's in your Help -> About ->
Configuration.)
Do you have other plug-ins installed, beyond what came with Eclipse J2EE?
|
|
|
|
|
|
|
Re: Out of memory problem [message #501301 is a reply to message #501088] |
Tue, 01 December 2009 19:22 |
Amira Messages: 12 Registered: November 2009 |
Junior Member |
|
|
Hi Sir,
Thank u so much so after reading ur advice i edited my eclipse.ini and this it after modification:
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200 .v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
500M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
800m [B]/ /i changed this line [/B]-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms300m// and this one too
-Xmx900m
is it what u want me to do!
Thank u very much
[Updated on: Tue, 01 December 2009 19:23] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04423 seconds