• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            牽著老婆滿街逛

            嚴以律己,寬以待人. 三思而后行.
            GMail/GTalk: yanglinbo#google.com;
            MSN/Email: tx7do#yahoo.com.cn;
            QQ: 3 0 3 3 9 6 9 2 0 .

            Tomcat – More Memory – CATALINA_OPTS tomcat的內存設置

            轉載自:http://readwall.blog.163.com/blog/static/1012713220106610347337/

            這篇文章是對內存調整真正起作用的,

             

            CATALINA_OPTS or JAVA_OPTS?

            CATALINA_OPTS is used to control Tomcat environment options, whereas JAVA_OPTS controls the environment options at a higher level ie. for any Java library.

            You can start Tomcat with more heap memory using the following:

            On Windows
            Edit the file $TOMCAT_HOME\bin\startup.bat and insert or alter the following line, substituting for the desired values:
            set CATALINA_OPTS=-Xms(min heap)m -Xmx(max heap)m

            For example if you want to allocate a minimum heap size of 256MB and a max heap size of 512MB you will have to write the following on Windows:
            set CATALINA_OPTS=-Xms256m -Xmx512m

            The line you add should go just before the line starting call “%EXECUTABLE%”…

            If you are running tomcat 5.5 via tomcat.exe, you can update the heap size by running tomcatw.exe and setting the required values via the Java tab.

            On Linux
            Edit the file $TOMCAT_HOME/bin/startup.sh and insert the following line, substituting for the desired value, eg. Bash Shell:
            export CATALINA_OPTS=”-Xms(min heap)m -Xmx(max heap)m”

            The line you add should go just before the line starting exec “$PRGDIR…

            Permanent Generation Size

            If you get the error message: java.lang.OutOfMemoryError: PermGen space you need to add the argument -XX:MaxPermSize=128m to CATALINA_OPTS, in addition to any argument you use to set the heap size.

             

            posted on 2012-05-02 15:41 楊粼波 閱讀(4580) 評論(0)  編輯 收藏 引用

            青青草国产精品久久| 久久无码AV一区二区三区| 欧美精品福利视频一区二区三区久久久精品| 国产日韩久久久精品影院首页| 久久久久亚洲av无码专区| Xx性欧美肥妇精品久久久久久 | 天天综合久久久网| 精品国产福利久久久| 香蕉久久夜色精品国产2020| 久久久久久综合一区中文字幕| 国产三级精品久久| 午夜精品久久久内射近拍高清| 久久精品一区二区国产| 伊人久久大香线焦综合四虎| 午夜久久久久久禁播电影| 久久久久久午夜精品| 色成年激情久久综合| 久久人妻AV中文字幕| 国产高潮国产高潮久久久91| 久久丫精品国产亚洲av不卡| 久久亚洲日韩精品一区二区三区| 久久精品国产72国产精福利| 久久精品国产清自在天天线| 久久A级毛片免费观看| 久久精品国产99国产精品亚洲| 国产高清国内精品福利99久久| 久久中文字幕精品| 97精品伊人久久久大香线蕉| 久久夜色精品国产噜噜麻豆| 漂亮人妻被中出中文字幕久久| 久久精品国产亚洲Aⅴ香蕉| 久久久久99精品成人片欧美| 香蕉久久夜色精品国产2020| 久久男人AV资源网站| 久久99精品国产99久久6男男| 精品国产一区二区三区久久久狼| 东京热TOKYO综合久久精品| 三级三级久久三级久久| 久久精品青青草原伊人| 亚洲欧美一区二区三区久久| 欧洲国产伦久久久久久久|