Set memory for Sonatype Nexus

Posted on 1 CommentPosted in java, Uncategorized

While starting Nexus I was getting following error, this was on a machine that was running at 1GB of memory. Error occurred during initialization of VM Could not reserve enough space for object heap So the solution was to edit /usr/local/nexus/bin/jws/wrapper.conf and add wrapper.java.additional.4=-Xmx128m parameter this setup java to use only 128mb of memory for […]