maven--私服的搭建(Nexus的使用)
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
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
一些倉庫搜尋伺服器:
常見的倉庫搜尋伺服器:
1)Sonatype Nexus: https://repository.sonatype.org/index.html
2)Jarvana: http://www.jarvana.com/jarvana
3)MVNbrowser: http://www.mvnbrowser.com
4)MVNrepository: http://mvnrepository.com/