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

            久久99国产精品成人欧美| 亚洲精品乱码久久久久久久久久久久| 国产亚洲精久久久久久无码| 欧美亚洲色综久久精品国产| 国产日产久久高清欧美一区| 欧美成a人片免费看久久| 波多野结衣AV无码久久一区| 日本福利片国产午夜久久| 综合久久给合久久狠狠狠97色| 伊人久久大香线焦AV综合影院| 色偷偷888欧美精品久久久| 人人狠狠综合久久亚洲高清| 亚洲午夜久久久久久久久电影网| 国内精品久久久久久久涩爱| 久久99热这里只有精品国产| 99热精品久久只有精品| 日日噜噜夜夜狠狠久久丁香五月| 久久影视综合亚洲| 久久99国产精品99久久| 久久天天躁狠狠躁夜夜96流白浆| 午夜精品久久久内射近拍高清 | 久久99精品国产麻豆不卡| 亚洲精品无码久久久久去q| 人妻无码久久精品| 99久久精品免费观看国产| MM131亚洲国产美女久久| 久久经典免费视频| 无码国内精品久久人妻麻豆按摩| 久久精品18| 久久久精品久久久久久| 久久久久国产精品嫩草影院| 99久久国产免费福利| 日韩精品久久久久久| 99久久国产综合精品网成人影院| 77777亚洲午夜久久多喷| 国产成人久久AV免费| 久久精品国产久精国产思思 | 国产精品美女久久福利网站| 精品久久久久中文字| 亚洲国产香蕉人人爽成AV片久久| 深夜久久AAAAA级毛片免费看 |