zoukankan      html  css  js  c++  java
  • maven nexus memory optimization

    
    #链接地址:https://help.sonatype.com/repomanager3/system-requirements#filehandles
    
    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 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
    
  • 相关阅读:
    js模块化历程
    夜深
    出差(六)开会
    高情商的十大典型表现
    出差(五)调整
    HighCharts简单应用
    出差(四)适应
    出差(三)尝试
    出差(二)熟悉
    ZTree简单应用
  • 原文地址:https://www.cnblogs.com/ipyanthony/p/9996708.html
Copyright © 2011-2022 走看看