What can be done with 'PermGen out of space' exception in Tomcat-Spring-Hibernate web application?

前端 未结 8 968
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 05:12

We have an web application that uses Spring-Hibernate to persist registered users data in Oracle database. The application works fine in development environment, but when we

8条回答
  •  -上瘾入骨i
    2020-12-05 05:51

    If you're running on jdk6 then you can use the jconsole app to monitor the memory usage of the application and investigate further.

    Another avenue to pursue is to use a profiler, I use JProfiler, and take a look at the application with that. It will tell you exactly where the problem is coming from.

提交回复
热议问题