I seem to run out of PermGenSpace when I try to build. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ pdfbox-examples --- [INFO] Compiling 37 source files to /home/gpeterso/tools/pdfbox/trunk/examples/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Failure executing javac, but could not parse the error:
The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: PermGen space The following has worked for me sometimes, but not others: MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=2048m" I've been rebooting every couple of builds as a work-around, but was wondering if there was a better way. Also, why does it keep saying "Using 'ISO-8859-1' encoding to copy filtered resources?" Does this mean that I need to use ISO-8859-1 encoding in my source files? I have some comments in other character sets, but could remove them if need be. -- Glen K. Peterson (828) 393-0081
