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 same dependency on different scopes
executing shell script and ant script with named parameter using maven
Can I produce both jar and war of a project in maven?
How can I set Jenkins to display “Build failure” on failure of test cases?
ant command for block replacement
Mule devkit Error: [ERROR] Could not create MANIFEST for Studio plugin: Attempt to reopen a file for path MANIFEST.MF
IntelliJ Error : “Cannot Resolve Symbol” in all Maven and Gradle Dependencies
an error in runining canopy example in mahout
JaCoCo report generation using maven
myeclipse2014 create maven project :The desired archetype does not exist
Maven - Inherit parent pom's modules [duplicate]
Jboss 7.x redeploy option
Multiple Sources directories using maven-remote-resources-plugin
Skip compilation of integration test in maven project
No setter found for property 'kBaseName' in class 'org.kie.spring.factorybeans.KBaseFactoryBean'