Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Out of memory problem
Out of memory problem [message #500775] Sat, 28 November 2009 15:11 Go to next message
Amira  is currently offline 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 Go to previous messageGo to next message
Walter Harley is currently offline 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 #500821 is a reply to message #500811] Sun, 29 November 2009 10:40 Go to previous messageGo to next message
Amira  is currently offline Amira
Messages: 12
Registered: November 2009
Junior Member
Hi sir ,
Sorry for late reply
I'm running out of permgen space.
My jre version is 1.6.0_07
i don't have many projects
i installed many plugins
what i have to do please!
Thank you so much

[Updated on: Sun, 29 November 2009 10:40]

Report message to a moderator

Re: Out of memory problem [message #500883 is a reply to message #500821] Mon, 30 November 2009 05:15 Go to previous messageGo to next message
Walter Harley is currently offline Walter Harley
Messages: 847
Registered: July 2009
Senior Member
"Amira" <amy_31@live.fr> wrote in message
news:hetj2t$eqf$1@build.eclipse.org...
> Hi sir ,
> Sorry for late reply I'm running out of permgen space.
> My jre version is 1.6.0_07
> i don't have many projects
> i installed may plugins
> what i have to do please!
> Thank you so much

If you have a lot of plugins, then you probably need more permgen space.
Have you tried getting rid of one of the redundant permgen declarations in
your eclipse.ini yet?
Re: Out of memory problem [message #501040 is a reply to message #500883] Mon, 30 November 2009 19:03 Go to previous messageGo to next message
Amira  is currently offline Amira
Messages: 12
Registered: November 2009
Junior Member
Hi Sir ,
Sorry for late reply ,
But i did not tried getting rid of one of the redundant permgen declarations in my eclipse.ini yet!
if it is a solution so how can i do it !
Thank u so much Sir
Re: Out of memory problem [message #501088 is a reply to message #501040] Mon, 30 November 2009 22:50 Go to previous messageGo to next message
Walter Harley is currently offline Walter Harley
Messages: 847
Registered: July 2009
Senior Member
Amira wrote:
> Hi Sir ,
> Sorry for late reply ,
> But i did not tried getting rid of one of the redundant permgen
> declarations in my eclipse.ini yet!
> if it is a solution so how can i do it !
> Thank u so much Sir

You see that you have two "--launcher.XXMaxPermSize" lines in there? Get rid of
one of them (and the number that comes after it on the next line).
Re: Out of memory problem [message #501301 is a reply to message #501088] Tue, 01 December 2009 19:22 Go to previous messageGo to next message
Amira  is currently offline 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

Re: Out of memory problem [message #501633 is a reply to message #501301] Thu, 03 December 2009 07:56 Go to previous message
Walter Harley is currently offline Walter Harley
Messages: 847
Registered: July 2009
Senior Member
"Amira" <amy_31@live.fr> wrote in message
news:hf3qd4$mhl$1@build.eclipse.org...
> 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 / /i changed this line -vmargs-Dosgi.requiredJavaVersion=1.5
> -Xms300m// and this one too-Xmx900m
>
> is it what u want me to do!
> Thank u very much


Amira, I'm beginning to suspect you of being a troll.

Surely you can see that there are two lines above that
say --launcher.XXMaxPermSize? Get rid of one of them.
Previous Topic:how to make Eclipse update the compiler errors
Next Topic:Instantiation hierarchy
Goto Forum:
  


Current Time: Fri Sep 19 12:03:15 GMT 2014

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

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