Re: Weird PermGen Error While Accessing External WebService

2012-11-07 Thread Dmitry Gusev
Xms/Xms control heap size You need to set permsize, like this: -XX:*MaxPermSize*=256m On Wed, Nov 7, 2012 at 11:23 PM, tapestry.kung.fu wrote: > I am using Jetty plugin to run my app using maven. I am using Eclipse > where I > have tried these two things. > > Open Run Configuration for Maven B

Re: Weird PermGen Error While Accessing External WebService

2012-11-07 Thread Chris Poulsen
Google is your friend... -XX:MaxPermSize=XXXM -- Chris On Wed, Nov 7, 2012 at 8:23 PM, tapestry.kung.fu wrote: > I am using Jetty plugin to run my app using maven. I am using Eclipse where I > have tried these two things. > > Open Run Configuration for Maven Build > 1) set "-Xms256m -Xmx2048m"

Re: Weird PermGen Error While Accessing External WebService

2012-11-07 Thread tapestry.kung.fu
I am using Jetty plugin to run my app using maven. I am using Eclipse where I have tried these two things. Open Run Configuration for Maven Build 1) set "-Xms256m -Xmx2048m" in VM Arguments text box of JRE tab 2) set MAVEN_OPTS variable with value -Xmx2048m in Environment tab None of them work