maven


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.

Related Links

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'
IOException issues

Categories

HOME
twitter
angular-material
platform-builder
syntax
relay
sqlite-net-extensions
umd
communication
circular-dependency
leiningen
orchardcms
visual-studio-2005
dtrace
ghc
highlight.js
tostring
oracle-coherence
firefox-webextensions
lucene.net
sylius
android-widget
qhull
internet-explorer-9
phpfox
windows-error-reporting
fifo
windowbuilder
vision
microsoft-chart-controls
junit5
iframe-resizer
galsim
http-status-code-503
uisplitview
copying
code-contracts
wpf-controls
io-redirection
dosbox
gesture
mixture-model
ssjs
particles.js
sfdc
isbn
sencha-touch-2.3
worksheet
blogengine.net
datastax-startup
tizen-native-app
git-diff
directory-structure
windows-mobile-6.5
akka-cluster
dynamics-sl
django-scheduler
crosswalk-runtime
skobbler-maps
django-debug-toolbar
fputcsv
icu4j
citrus-pay
iis-arr
iiviewdeckcontroller
android-nested-fragment
terminfo
xojo
uitouch
dml
undefined-reference
transcoding
soundtouch
dotnetnuke-5
rabl
typoscript2
rdoc
hosts-file
dbproviderfactories
ticoredatasync
netbeans-6.9
adk
boost-filesystem
table-footer
android-sdk-2.1
blitz++
gamma
dentrix
filtered-index
routedevent
rescale
uimenucontroller
phonon

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App