Knight of the round table

          wansong

          mbean & tomcat

          http://oss.wxnet.org/mbeans.html

          http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html

          http://yuanlijia1.javaeye.com/blog/870106 :
          set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=10090 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false

          http://localhost:8080/manager/jmxproxy/


          http://dev.firnow.com/course/3_program/java/javajs/20100719/460604.html
          PermGen space的全稱(chēng)是Permanent Generation space,是指內(nèi)存的永久保存區(qū)域OutOfMemoryError: PermGen space。從文字上看就是內(nèi)存溢出,解決方法是加大內(nèi)存。為什么會(huì)內(nèi)存溢出,這是由于這塊內(nèi)存主要是被JVM存放Class和Meta信息的,Class在被Load的時(shí)候被放入PermGen space區(qū)域,它和存放Instance的Heap區(qū)域不同,GC(Garbage Collection)不會(huì)在主程序運(yùn)行期對(duì)PermGen space進(jìn)行清理,所以如果你的APP會(huì)LOAD很多CLASS的話,就很可能出現(xiàn)PermGen space錯(cuò)誤。這種錯(cuò)誤常見(jiàn)在web服務(wù)器對(duì)JSP進(jìn)行pre compile的時(shí)候。如果你的WEB APP下都用了大量的第三方j(luò)ar, 其大小超過(guò)了jvm默認(rèn)的大小(4M)那么就會(huì)產(chǎn)生此錯(cuò)誤信息了。

          posted on 2011-03-19 11:00 w@ns0ng 閱讀(211) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): javambean

          主站蜘蛛池模板: 苗栗市| 凌云县| 建湖县| 都江堰市| 新兴县| 顺平县| 屯门区| 梨树县| 定日县| 通州区| 克东县| 平阴县| 柳州市| 重庆市| 冀州市| 津南区| 永仁县| 台南县| 罗平县| 冷水江市| 韩城市| 驻马店市| 阿荣旗| 鲜城| 封丘县| 株洲县| 通榆县| 当雄县| 淳安县| 宝鸡市| 辽宁省| 平果县| 陵水| 辰溪县| 绥德县| 克东县| 庐江县| 宜昌市| 重庆市| 郴州市| 陆川县|