Skip to main content



      Home
Home » Modeling » TMF (Xtext) » java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space [message #812923] Sun, 04 March 2012 10:00 Go to next message
Eclipse UserFriend
Hello, when I launch the second eclipse, with a project that needs Xbase dependency, I get this error:

java.lang.OutOfMemoryError: PermGen space

¿Any solution?

Thank you very much.
Re: java.lang.OutOfMemoryError: PermGen space [message #812937 is a reply to message #812923] Sun, 04 March 2012 10:25 Go to previous messageGo to next message
Eclipse UserFriend
On 2012-04-03 16:00, Roberto Jimenez wrote:
> Hello, when I launch the second eclipse, with a project that needs Xbase
> dependency, I get this error:
>
> java.lang.OutOfMemoryError: PermGen space
>
> ¿Any solution?
>

Did you try increasing the PermGen space? (in the launch config).

- henrik
Re: java.lang.OutOfMemoryError: PermGen space [message #812998 is a reply to message #812937] Sun, 04 March 2012 12:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi

I have modify the file eclipse.ini to increase it to 512:


-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx384m


is this what you meant???
Re: java.lang.OutOfMemoryError: PermGen space [message #813016 is a reply to message #812998] Sun, 04 March 2012 13:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

shouldnt you change the Jvm Arguments of your Launch Configuration (Run -> Run Configurations...) e.g. by adding
-XX:MaxPermSize=128m
there

~Christian
Re: java.lang.OutOfMemoryError: PermGen space [message #813046 is a reply to message #813016] Sun, 04 March 2012 14:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi Christian

eclipse.ini editing is what Eclipse FAQs recommend; it fixes all uses of
one Eclipse.

I do the same as you which fixes one use of a potentially migrating Eclipse.

Regards

Ed Willink

On 04/03/2012 18:17, Christian Dietrich wrote:
> Hi,
>
> shouldnt you change the Jvm Arguments of your Launch Configuration
> (Run -> Run Configurations...) e.g. by adding
> -XX:MaxPermSize=128m
> there
>
> ~Christian
Re: java.lang.OutOfMemoryError: PermGen space [message #813084 is a reply to message #813046] Sun, 04 March 2012 15:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ed,

adding --launcher.XXMaxPermSize
256m

has no influence on runtime "eclipse applications" at least in my experience
the only influence is on "Launch Eclipse Runtime"

so you have
(a) always make sure you choose "Launch Eclipse Runtime" and not "Eclipse Application"
(b) add the XX:MaxPermSize manually to the Launch "Eclipse Application" Config

~Christian
Re: java.lang.OutOfMemoryError: PermGen space [message #873110 is a reply to message #813084] Thu, 17 May 2012 10:05 Go to previous message
Eclipse UserFriend
Christian Dietrich wrote on Sun, 04 March 2012 15:29
Hi Ed,

adding --launcher.XXMaxPermSize
256m

has no influence on runtime "eclipse applications" at least in my experience
the only influence is on "Launch Eclipse Runtime"

so you have
(a) always make sure you choose "Launch Eclipse Runtime" and not "Eclipse Application"
(b) add the XX:MaxPermSize manually to the Launch "Eclipse Application" Config

~Christian


I've tried editing eclipse.ini at first, but didn't work. Changing the launch config did. Thanks Smile
Previous Topic:Problems with formatting rules
Next Topic:(Xtext) 15 Minute Tutorial needs to be updated for version 2.2
Goto Forum:
  


Current Time: Mon Jul 07 19:02:39 EDT 2025

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

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

Back to the top