wood burning stoves 2.0
The moose likes IDEs, Version Control and other tools and the fly likes PermGen Out Of Memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "PermGen Out Of Memory" Watch "PermGen Out Of Memory" New topic

PermGen Out Of Memory

Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 482
Hi Everyone,

I have Eclipse Galileo, and when i build or try to publish a project I keep getting Perm Gen out of memory exception and my Workspace just prompts for shutting down. I have increased the PermGen size to 2048m and still i get the error. Any help would be appreciated!

I dont know what else information to provide. If there is something missing please let me know, I would be able to provide it.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

You set the max perm size for the launcher, which is not that same as for Eclipse itself. Try, after the "-vmargs" line, adding "-XX:MaxPermSize=512MB"

Also, after you launche Eclipse, verify that the MaxPermSize for the javaw process is set to the value you indicated. If you don't know how to do that, tell me what OS you are using and I can provide details.

JBoss In Action
Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 482
Ok. I would try adding the line and see. I am on Windows XP. After i posted here... i am getting the error even when i do a clean and build!
I agree. Here's the link: http://aspose.com/file-tools
subject: PermGen Out Of Memory
It's not a secret anymore!