I am using IntelliJ IDEA and JBOSS AS 7. When I am trying to deploy my app in debug mode I occur this exception java.lang.OutOfMemoryError: PermGen space and server is not answering. But if I am using Eclipse, there is no such problem with the same server! How I can solve this problem?
I am using IntelliJ IDEA and JBOSS AS 7 . When I am trying
Share
This should help:
Just add
-Xmx512m -XX:MaxPermSize=300mto the VM options field.