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 <bakul21...@gmail.com>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" in VM Arguments text box of JRE tab > 2) set MAVEN_OPTS variable with value -Xmx2048m in Environment tab > > None of them works. Is there any other way to increase Max Perm Size in > maven? > > Thanks. > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Weird-PermGen-Error-While-Accessing-External-WebService-tp5717789p5717793.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Dmitry Gusev AnjLab Team http://anjlab.com