服务器OutOfMemoryError问题,求助!!
服务器突然停止运行,报出OutOfMemoryError PermGen的问题,但这个问题不是应该是启动的时候报出的吗?
或者是在程序运行中持续未释放方法区内存才造成的?
同时运行的另一台服务器未停止工作(问题并非必现),暂时找不到解决的方法,求大神帮忙啊
以下是部分日志输出,之后均为线程抛出OutOfMemoryError,就不放上来了
2016-11-07 16:41:59,032 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_url:http://xxxxx/xxxxx/p/aftersale/get?model=iPhone6Plus&phone=0&store=com.xxxxx.xxxxx.iOS.client&hpx=1136&arel=0&iccid=ChinaMobile&mac=D30BD344-0940-4F61-B79B-B27AF8E84C4B&lang=zh-Hans&time=1478508121027&snum=d951d273-0e62-46f5-b5c8-iosxxxxx&connectType=wifi&os=iOS&appVer=2.3&dvc=0&imei=02:00:00:00:00:00&cpu=0&tzrawoffset=0&pkg=com.xxxxx.xxxxx.iOS.client&wpx=640&cver=8&deviceBrand=ChinaMobile&customerUuid=7f5bd96d470a4ff08e37761692281d3e&brand=Apple&memberId=7f5bd96d470a4ff08e37761692281d3e&imsi=0&language=zh-Hans&orderDetailUuid=b4e9f956bc934c4986e69ddc182b65b1&tzid=Asia/Shanghai&deviceMode=iPhone6Plus&t=1478508118474
2016-11-07 16:41:59,033 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_visitor:ip:59.46.17.2,brand:iPhone6Plus,os:iOS8,imei:02:00:00:00:00:00
Exception in thread "Thread-8"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-8"
2016-11-07 16:42:00,937 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_result:/xxxxx/p/aftersale/get takes time 2463 ms, ip:59.46.17.2
2016-11-07 16:42:23,677 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_url:http://xxxxx/xxxxx/data/getChangeGoodsRank.json?t=1478508143677
2016-11-07 16:42:23,677 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_visitor:ip:52.77.55.25,brand:null,os:nullnull,imei:null
2016-11-07 16:42:25,051 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_url:http://xxxxx/xxxxx/p/Order/view.json?model=iPhone6Plus&phone=0&store=com.xxxxx.xxxxx.iOS.client&hpx=1136&arel=0&iccid=ChinaMobile&mac=D30BD344-0940-4F61-B79B-B27AF8E84C4B&lang=zh-Hans&time=1478508141005&snum=d951d273-0e62-46f5-b5c8-iosxxxxx&connectType=wifi&os=iOS&appVer=2.3&dvc=0&imei=02:00:00:00:00:00&cpu=0&tzrawoffset=0&pkg=com.xxxxx.xxxxx.iOS.client&wpx=640&cver=8&deviceBrand=ChinaMobile&customerUuid=7f5bd96d470a4ff08e37761692281d3e&brand=Apple&memberId=7f5bd96d470a4ff08e37761692281d3e&uuid=13f867cfdbd64774bd886e6e31e1323e&imsi=0&language=zh-Hans&tzid=Asia/Shanghai&deviceMode=iPhone6Plus&t=1478508143677
2016-11-07 16:42:25,051 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_visitor:ip:59.46.17.2,brand:iPhone6Plus,os:iOS8,imei:02:00:00:00:00:00
2016-11-07 16:42:58,951 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_result:/xxxxx/p/Order/view.json takes time 35274 ms, ip:59.46.17.2
Exception in thread "http-bio-8181-exec-14"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-8181-exec-14"
2016-11-07 16:43:38,241 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_result:/xxxxx/data/getChangeGoodsRank.json takes time 74564 ms, ip:52.77.55.25
2016-11-07 16:44:16,899 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_url:http://xxxxx/xxxxx/data/getShareProductRank.json?t=1478508256899
2016-11-07 16:44:16,899 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_visitor:ip:52.77.55.25,brand:null,os:nullnull,imei:null
Exception in thread "http-bio-8181-exec-34" Exception in thread "http-bio-8181-exec-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-8181-exec-34"
Exception in thread "http-bio-8181-exec-2"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-8181-exec-2"
Exception in thread "http-bio-8181-exec-3" 2016-11-07 16:44:50,814 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_url:http://xxxxx/xxxxx/p/Cart/count.json?model=iPhone6Plus&phone=0&store=com.xxxxx.xxxxx.iOS.client&hpx=1136&arel=0&iccid=ChinaMobile&mac=D30BD344-0940-4F61-B79B-B27AF8E84C4B&lang=zh-Hans&time=1478508251930&snum=d951d273-0e62-46f5-b5c8-iosxxxxx&connectType=wifi&os=iOS&appVer=2.3&dvc=0&imei=02:00:00:00:00:00&cpu=0&tzrawoffset=0&pkg=com.xxxxx.xxxxx.iOS.client&wpx=640&cver=8&deviceBrand=ChinaMobile&customerUuid=7f5bd96d470a4ff08e37761692281d3e&brand=Apple&memberId=7f5bd96d470a4ff08e37761692281d3e&imsi=0&language=zh-Hans&tzid=Asia/Shanghai&deviceMode=iPhone6Plus&t=1478508281244
2016-11-07 16:44:52,798 INFO com.xxxxx.log.ApiVisitLogger - ==>>request_visitor:ip:59.46.17.2,brand:iPhone6Plus,os:iOS8,imei:02:00:00:00:00:00
Exception in thread "http-bio-8181-exec-4"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-8181-exec-1"
Exception in thread "http-bio-8181-exec-6"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-8181-exec-4"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-8181-exec-3"
Exception in thread "http-bio-8181-exec-13" Exception in thread "http-bio-8181-exec-8"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-8181-exec-6"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-8181-exec-13"