Keep getting java.lang.OutOfMemoryError: PermGen space error
I am required to start few servers locally. I keep getting the "java.lang.OutOfMemoryError: PermGen space" error every now and then. I tried to increase my JVM size by the following command. export MAVEN_OPTS="-Xmx128m -XX:MaxPermSize=512m" After running the above command, I see that the MAVEN_OPTS is correctly updated. $ echo $MAVEN_OPTS -Xmx128m -XX:MaxPermSize=512m However, after a few minutes from starting the servers I get an out of memory error. $ echo $MAVEN_OPTS -Xmx512m:wq Can someone please tell me what causes the properties to change and what does the :wq come from?
wq is the vim command for save and exit. Looks like your jvm options got corrupted with that. Can you remove that and retry. Increasing -XX:MaxPermSize is the correct thing to do here.
Maven Error “cant find or load main class…”
I run a maven project with the package goal. I defined the main class in the manifest but I still cannot have the jar file run in command prompt. Why?
Why including bom doesn't work?
runtime deployment of decision table in KIE
java.lang.IllegalArgumentException: At least one JPA metamodel must be present
Defining suppressions filter in checkstyle.xml vs pom.xml - maven-checkstyle plugin
Missing artifact org.glassfish.jersey.media:jaxrs-media-moxy:jar:2.16 in Maven project in Eclipse ,what to do?
Sonatype Nexus 3 stuck on OnLine - Ready To Connect status for proxies
Jenkins get last test result when maven building fail
How can I make a goal optional in maven?
Cucumber Rerun failed features : Inconsistent filters: [#test1, #test, 23, 36]. Only one type [line,name,tag] can be used at once
Creating an external Maven packaging POM
How to Integrate BIRT Chart Engine 4.6.0 into maven project
Maven dependency plugin downloads POM instead of tar.gz
Maven get from Wrong repository
Artifactory Dependency Declaration does not match maven-metadata.xml or pom