• <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>

            牽著老婆滿街逛

            嚴(yán)以律己,寬以待人. 三思而后行.
            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的內(nèi)存設(shè)置

            轉(zhuǎn)載自:http://readwall.blog.163.com/blog/static/1012713220106610347337/

            這篇文章是對(duì)內(nèi)存調(diào)整真正起作用的,

             

            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) 評(píng)論(0)  編輯 收藏 引用


            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            日韩精品久久久久久| 久久精品国产亚洲av水果派| 久久国产精品久久国产精品| 精品久久人人爽天天玩人人妻| 99久久99久久精品国产| 91精品国产高清91久久久久久| 亚洲精品无码久久一线| 2019久久久高清456| 亚洲色欲久久久久综合网| 久久久网中文字幕| 美女久久久久久| 日本加勒比久久精品| 久久久久国产一区二区三区| 国内精品久久久久久久久| 99久久国产综合精品网成人影院| 秋霞久久国产精品电影院| 青青草国产精品久久久久| 国产福利电影一区二区三区久久老子无码午夜伦不 | 久久精品日日躁夜夜躁欧美 | 深夜久久AAAAA级毛片免费看| 久久久青草青青国产亚洲免观| 久久久久久噜噜精品免费直播| 久久精品国产99久久丝袜| 久久亚洲2019中文字幕| 蜜臀久久99精品久久久久久 | 99精品国产99久久久久久97| av色综合久久天堂av色综合在| 伊人久久精品无码av一区| 久久99国产综合精品免费| 色综合久久中文综合网| 国内精品久久久久影院网站| 久久综合色之久久综合| 99久久国产宗和精品1上映 | 2021久久精品国产99国产精品| 精品久久久久久综合日本| 国产精品99久久久久久猫咪| 午夜视频久久久久一区 | 国内精品伊人久久久影院| 热re99久久6国产精品免费| 久久久久四虎国产精品| 亚洲国产高清精品线久久|