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

            国产亚洲成人久久| 四虎久久影院| 日本欧美久久久久免费播放网| 久久伊人五月天论坛| 怡红院日本一道日本久久| 国产高潮国产高潮久久久91 | 精品久久国产一区二区三区香蕉| 国产亚洲美女精品久久久久狼| 精品久久久久久久久久中文字幕 | 久久国产三级无码一区二区| 久久人妻少妇嫩草AV无码蜜桃| 久久久精品人妻无码专区不卡| 国产精品成人99久久久久91gav | 超级碰久久免费公开视频| 丁香五月网久久综合| 久久久久久国产精品无码下载 | MM131亚洲国产美女久久| 国产精品成人99久久久久91gav| 久久久久久精品久久久久| 99久久精品免费国产大片| 久久亚洲欧美国产精品| 亚洲国产婷婷香蕉久久久久久| 国产精品久久毛片完整版| 精产国品久久一二三产区区别| 亚洲国产精品久久久久网站| 久久亚洲精品人成综合网| 怡红院日本一道日本久久| 久久99国产精品久久| 国内精品久久久久久99| 国产精品久久久天天影视| 99久久99久久精品免费看蜜桃 | 国产精品成人久久久| 久久久久人妻一区精品色 | 国产精品免费久久久久影院| 好属妞这里只有精品久久| 激情伊人五月天久久综合| 香蕉久久av一区二区三区| 免费无码国产欧美久久18| 国产精品久久久久a影院| A级毛片无码久久精品免费| 99蜜桃臀久久久欧美精品网站 |