“java.lang.OutOfMemoryError: PermGen space” Using Maven build in Netbeans Linux
I'd been searching to solve this problem in hours, then I finally found out the way.I was using netbeans as IDE and maven to build my java web program.I was actually using jetty to run my java web program that produce this error.I hope it can help you too. This is the reference http://stackoverflow.com/questions/3101128/java-lang-outofmemoryerror-permgen-space-in-maven-build?rq=1 , but I'm gonna show you how to do that in Netbeans IDE. In Netbeans set your Maven Home same with your terminal, here the way to find where the path Maven Home :