14

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?

1 Answers1

38

This should help:

vmoptions

Just add -Xmx512m -XX:MaxPermSize=300m to the VM options field.

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904