This content has been marked as final.
Show 3 replies
-
1. Re: getting OutOfMemoryError while deploying the war file
ctomc Nov 6, 2013 5:32 AM (in response to sathishpmca)hey,
increase PermGen size in standalone.conf / standalone.conf.bat if you are running in standalone mode.
And failure like this would mean you are trying to deploy really really really big deployment. 100mb+ maybe?
It might be wise if you could trim your deployment, maybe remove some redundant jars etc...
But as I said increasing permGen would solve your issue.
--
tomaz
-
2. Re: getting OutOfMemoryError while deploying the war file
sathishpmca Nov 7, 2013 6:01 AM (in response to ctomc)Hi Tomaz,
Thanks. Shall I increase the PermGen as below ?
-Xms256m -Xmx256m -XX:MaxPermSize=256m
-
3. Re: getting OutOfMemoryError while deploying the war file
ctomc Nov 7, 2013 6:08 AM (in response to sathishpmca)That is a good start, but it really depends on your application, you might need to increase even further if it does not work.