title: Maven "Exception in thread "http-bio-8080-exec-32" java.lang.OutOfMemoryError: PermGen space"
body: <p>I made a project in NetBeans under Ubuntu 11.10 with Struts2 + Spring and Hibernate frameworks. The first run is ok, but when I run it for the second or third time I keep getting this exception. Without Maven all goes well. I installed maven with <code>apt-get install</code>, and yes I added this line <code>export MAVEN_OPTS=-Xmx512m</code> in <code>usr/bin/mvn</code>, but without luck. How to get a better performance from it?</p>