검색결과 리스트
PermGen에 해당되는 글 1건
- 2015.03.25 PermGen / java.lang.OutOfMemoryError
글
[Good Comment!!, Good Discussion!!, Good Contens!!]
[ If you think that is useful, please click the finger on the bottom~^-^good~ ]
by ace-T
[ If you think that is useful, please click the finger on the bottom~^-^good~ ]
by ace-T
Java heap 또는 heap의 특정 영역에 객체를 할당할 수 있는 공간이 충분하지 않을 때 발생.
참고 글 :
2014/05/15 - [Language/Java] - [Java] JVM 메모리 구조
보통 톰캣 같은 곳에서 설정 때 보면 PermGen이라는 친구가 있다. 이녀석은 permanent generation라는 뜻이고
출처 : http://dic.daum.net/
클래스와 메소드 객체가 저장되는 heap의 영역이다.
어플리케이션이 많은 수의 클래스를 로드하면 -XX:MaxPermSize옵션을 사용하여 PermGen의 크기를 증가 시킬 필요가 있다.
유닉스같은 서버에 톰캣을 셋팅해서 사용하신다면 톰캣의 catalina.sh 파일에 추가 하면 된다.
예) JAVA_OPTS="$JAVA_OPTS -server -Xms3000M -Xmx3000M -XX:PermSize=256m -XX:MaxPermSize=256m
설정을 하지 않으면 디폴트는!
The Sun VM has the flag -XX:MaxPermSize that allows to set its size (the default value is 64M)
참고 사이트 : http://wiki.apache.org/tomcat/OutOfMemory
- 끝 -
'Was > Tomcat' 카테고리의 다른 글
스카우터(scouter)를 통해 톰캣 성능 모니터링을 해보자! (0) | 2016.09.08 |
---|---|
톰캣 튜닝 (0) | 2016.07.29 |
tomcat performance problem! (0) | 2016.04.25 |
PermGen / java.lang.OutOfMemoryError (0) | 2015.03.25 |
Setting property 'source' to 'org.eclipse.jst.jee.server: did not find a matching property. (0) | 2014.01.28 |
Server testServer was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. (0) | 2012.01.17 |
:::: facebook을 이용하시는 분들은 로그인 후 아래에 코멘트를 남겨주세요 ::::