Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to raise the PermGen limit for a fork process ?
How to raise the PermGen limit for a fork process ? [message #686083] Tue, 21 June 2011 16:00 Go to next message
guillaume.doussin is currently offline guillaume.doussinFriend
Messages: 2
Registered: June 2011
Junior Member
Hi,
I'm actually having issues while starting a jetty server in eclipse (using jetty:run). I get a PermGen Space error : out of memory.

I tried to up the permGen limit for eclipse :

-vmargs
-Xms128m
-Xmx512m
-XX:PermSize=512m
-XX:MaxPermSize=1024m

But it seems to raise the limit only for eclipse main process.

The processus launch for the jetty:run has got a PermGen limit of 64Mo (I can see it using VisualVM).
How can I change this limit ?

Thanks
Re: How to raise the PermGen limit for a fork process ? [message #686584 is a reply to message #686083] Wed, 22 June 2011 14:33 Go to previous message
guillaume.doussin is currently offline guillaume.doussinFriend
Messages: 2
Registered: June 2011
Junior Member
In fact, there is a simple solution :


Right Click ProjectName > Run As > Maven Build...
Goals/JRE Tab > VM Arguments:
-Xms128m -Xmx512m -XX:PermSize=512m -XX:MaxPermSize=1024m
Previous Topic:Refresh Editor Input
Next Topic:How to install all needed plugins for a workspace
Goto Forum:
  


Current Time: Fri Apr 19 16:20:39 GMT 2024

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

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

Back to the top