• <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 楊粼波 閱讀(4584) 評論(0)  編輯 收藏 引用

            成人午夜精品无码区久久| 久久亚洲高清观看| 久久婷婷五月综合成人D啪| 97精品伊人久久大香线蕉| 麻豆成人久久精品二区三区免费 | 青青草国产精品久久| 国产成人无码精品久久久免费| 热综合一本伊人久久精品| 99久久国产精品免费一区二区| 天天爽天天爽天天片a久久网| 亚洲国产高清精品线久久| 色综合久久综合网观看| 久久精品国产AV一区二区三区| 丁香久久婷婷国产午夜视频| 少妇无套内谢久久久久| 久久se精品一区精品二区国产| 久久久婷婷五月亚洲97号色| 伊人色综合久久天天人守人婷 | 国产精品美女久久久久网| 久久天天躁狠狠躁夜夜2020一| 国内精品久久久久久久久| 久久久久久亚洲AV无码专区| 久久精品国产久精国产一老狼| 久久天天躁狠狠躁夜夜2020| 久久综合中文字幕| 97精品国产91久久久久久| 久久婷婷五月综合国产尤物app| 色综合合久久天天给综看| 国产精品日韩欧美久久综合| 国产精品一区二区久久 | 久久99久久99小草精品免视看| 亚洲精品无码久久久久久| 久久国产免费直播| 久久天天躁狠狠躁夜夜躁2014| 亚洲国产小视频精品久久久三级| 久久精品国产99久久丝袜| 99久久精品免费看国产免费| 国产高清美女一级a毛片久久w| 国产精品成人久久久久三级午夜电影 | 午夜人妻久久久久久久久| 伊人久久精品无码二区麻豆|