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

            久久精品中文闷骚内射| 久久中文字幕精品| 久久精品99无色码中文字幕| 久久精品国产清自在天天线| 伊人久久大香线蕉AV一区二区| 亚洲综合伊人久久大杳蕉| 国产精品视频久久久| 日本精品一区二区久久久| 人人狠狠综合久久88成人| 久久婷婷人人澡人人| 久久久久久久人妻无码中文字幕爆 | 亚洲成人精品久久| 久久精品综合网| 精品无码久久久久久国产| 99久久综合国产精品免费| 色综合久久天天综合| 日韩精品无码久久久久久| 久久99九九国产免费看小说| 久久综合久久久| AAA级久久久精品无码片| 久久综合亚洲色一区二区三区| 久久综合伊人77777| 久久综合狠狠综合久久激情 | 久久精品人人做人人爽电影蜜月| 一97日本道伊人久久综合影院| 久久久久97国产精华液好用吗| 精品久久久久久久无码 | 香蕉久久永久视频| 久久精品国产色蜜蜜麻豆| 久久久精品一区二区三区| 韩国三级大全久久网站| 精品综合久久久久久888蜜芽| 性高湖久久久久久久久| 亚洲精品乱码久久久久久自慰| 久久久久se色偷偷亚洲精品av| 无码8090精品久久一区| 亚洲国产成人久久精品99| 四虎国产精品成人免费久久| 久久亚洲sm情趣捆绑调教 | 久久中文精品无码中文字幕| 久久天天躁狠狠躁夜夜不卡|