File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "PermGen Out Of Memory" Watch "PermGen Out Of Memory" New topic
Author

PermGen Out Of Memory

Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 477
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
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

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: 477
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!
 
Don't get me started about those stupid light bulbs.
 
subject: PermGen Out Of Memory
 
Similar Threads
interogating jars for specific classes
General Eclipse Slowness
Eclipse Heap Size
eclipse3.5 giving OutOfMemory/Permgen after installing plugin for Spring IDE
Regarding the IText API