• <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)  編輯 收藏 引用

            国产免费福利体检区久久| 国产69精品久久久久观看软件| 日韩人妻无码精品久久免费一| A狠狠久久蜜臀婷色中文网| 久久精品免费网站网| 亚洲精品无码久久久影院相关影片| 久久国产成人精品麻豆| 久久亚洲AV无码精品色午夜 | 久久亚洲精品成人AV| 国产成人精品久久| 久久99精品久久久久久hb无码| 久久精品国产72国产精福利| 久久99国产精品尤物| 中文字幕无码久久人妻| 狠狠色综合网站久久久久久久 | 一本色道久久综合狠狠躁篇| avtt天堂网久久精品| 亚洲AV无码久久精品蜜桃| 午夜肉伦伦影院久久精品免费看国产一区二区三区 | 久久国产精品成人片免费| 欧美国产成人久久精品| 三级片免费观看久久| 久久久久国产成人精品亚洲午夜| 青青草原1769久久免费播放| 国产亚洲美女精品久久久久狼| 久久综合狠狠综合久久综合88| 久久精品视频一| 日本精品久久久久影院日本| 久久久久女教师免费一区| 久久99精品久久久久久9蜜桃 | 中文字幕热久久久久久久| 亚洲国产精品无码久久久不卡 | 99久久精品国产一区二区 | 色偷偷久久一区二区三区| 亚洲精品高清国产一线久久| 久久久久亚洲av无码专区| 久久狠狠高潮亚洲精品| 久久九九全国免费| 久久精品视频91| 一本一道久久a久久精品综合| A级毛片无码久久精品免费|