maven nexus memory optimization
生活随笔
收集整理的這篇文章主要介紹了
maven nexus memory optimization
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
#鏈接地址:https://help.sonatype.com/repomanager3/system-requirements#filehandlesWhile 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 heapSo 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 the new VM.Solution 2
After further analysis of the config file there are following options that can be set as well, just need to uncomment them# Size Java memory, in MB (-Xms)
#wrapper.java.initmemory=128
# Size Java memory, in MB (-Xmx)
#wrapper.java.maxmemory=256
轉載于:https://www.cnblogs.com/ipyanthony/p/9996708.html
總結
以上是生活随笔為你收集整理的maven nexus memory optimization的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Django之用户上传文件的参数配置
- 下一篇: [GO] go使用etcd和watch方