...
PermGen refers to the part of the Java memory space devoted to permanent objects, which is are mostly loaded classes. This When developing under Tapestry, many more classes and class loaders are created than normal; this is part of live class reloading. Because of this, you will want to up increase the amount of memory Java devotes to this.
The solution is to add -XX:MaxPermSize=512m
to your command line. You may also want to up increase the regular amount of heap space with -Xmx600M
. Of course, you may need to adjust the amount of memory in each category to match your actual application, but these are good starting values.
...