Use Java VisualVM to see PermGen memory allocation and troubleshoot. It
would also let you validate that your sizing parameters are properly set.

On Tue, Nov 29, 2016 at 2:09 AM, Kaushal Shriyan <kaushalshri...@gmail.com>
wrote:

> Hi,
>
> I am seeing the below PermGen space issue in tomcat catalina.out file.
> Currently i am running Apache Tomcat Version 7.0.59 on CentOS release 6.8
> (Final)
> java -version
> java version "1.7.0_80"
> Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
>
> Exception in thread "http-bio-8080-exec-120" java.lang.OutOfMemoryError:
> PermGen space
> Exception in thread "http-bio-8080-exec-165" java.lang.OutOfMemoryError:
> PermGen space
>
> 2016-11-28 13:40:30.543 ERROR 19011 --- [o-8080-exec-110]
> o.s.boot.context.web.ErrorPageFilter     : Forwarding to error page from
> request [/push-notifications] due to exception [PermGen space]
> java.lang.OutOfMemoryError: PermGen space
>
>
> Is there a way to debug PermGen space issue and are there any tools to
> debug the same. Currently i have set -XX:MaxPermSize=1024m. How do i
> determine what value should be set for MaxPermSize?
>
> Any help will be highly appreciable. Please do let me know if you need any
> additional details.
>
> Thanks in Advance
>
> Regards,
>
> Kaushal
>

Reply via email to