It will not work as he's running out of PermGen, the -Xmx switch controls heap size.
The switch to use is: -XX:MaxPermSize=<Size> to allow the VM to allocate more PermGen. Eg. -XX:MaxPermSize=400m HTH. -- Chris On Mon, Dec 5, 2011 at 6:27 AM, angelochen <angelochen...@yahoo.com.hk>wrote: > try this: > JAVA_OPTS='-Xms256m -Xmx1024m' > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/a-trouble-problem-tp5047877p5047892.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 > >