This content has been marked as final.
Show 2 replies
-
1. Re: How to configure the Maven-JBoss plugin to quit if an OutOfMemory error occurs?
erasmomarciano Feb 4, 2014 9:28 AM (in response to laredotornado)Hi
You have the following error
java.lang.OutOfMemoryError: PermGen space
You can solve this problem with this parameter
- -XX:PermSize756m
-
2. Re: How to configure the Maven-JBoss plugin to quit if an OutOfMemory error occurs?
laredotornado Feb 4, 2014 11:05 AM (in response to erasmomarciano)Thanks, but that's not my question. My question is, is there a way to prevent the plugin from hanging if the server dies with an OutOfMemory error?
I've noticed that repeated hot deploys to the server will eventually cause it to die with an OutOfMemory error, so it doesn't seem to matter how much I increase the Java memory parameters to, the server will eventually die after enough hot deploys.