• <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国产精品亚洲| 国产精品久久久久9999| 无码人妻少妇久久中文字幕| 精品人妻久久久久久888| 久久综合一区二区无码| 久久精品国产亚洲av麻豆小说| 国产免费久久久久久无码| 亚洲狠狠婷婷综合久久蜜芽 | 久久久久无码中| 久久天天躁狠狠躁夜夜网站 | 亚洲色欲久久久久综合网| 成人免费网站久久久| 亚洲AV无码久久寂寞少妇| 久久人人爽人人爽人人片AV麻豆| 久久天天躁狠狠躁夜夜躁2O2O | 开心久久婷婷综合中文字幕| 99久久er这里只有精品18| 久久天天躁狠狠躁夜夜躁2014| 99久久精品免费看国产免费| 色狠狠久久AV五月综合| 免费精品久久天干天干| 日本精品久久久久影院日本| 国产精品久久久99| 色偷偷888欧美精品久久久| 精品乱码久久久久久久| 亚洲综合伊人久久综合| 国产成人精品综合久久久| 久久AV无码精品人妻糸列| 2021国内久久精品| 国产亚洲精久久久久久无码77777| 亚洲国产精品一区二区三区久久 | 亚洲精品tv久久久久| 精品久久久久久无码人妻蜜桃| 国产午夜精品理论片久久|