It's not a secret anymore!
The moose likes Java in General and the fly likes Java Profiler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Profiler" Watch "Java Profiler" New topic

Java Profiler

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208

do you know of a good Java profiler for ascertaining where a memory leak may be occuring within an application,

currently getting a "java.lang.OutOfMemoryError: PermGen space" exception being thrown

2010-11-27 11:17:19,503 ERROR [backgroundTaskScheduler_Worker-3] [org.quartz.core.JobRunShell] - Job DEFAULT.mediaDeleteRetryJob threw an unhandled Exception:
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(
at java.lang.ClassLoader.defineClass(
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(
at org.apache.catalina.loader.WebappClassLoader.findClass(
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.hibernate.type.ListType.instantiate(
at org.hibernate.type.CollectionType.getCollection(
at org.hibernate.type.CollectionType.resolveKey(
at org.hibernate.type.CollectionType.resolve(
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(
at org.hibernate.loader.Loader.doQuery(
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(
at org.hibernate.loader.Loader.doList(
at org.hibernate.loader.Loader.listIgnoreQueryCache(
at org.hibernate.loader.Loader.list(
at org.hibernate.loader.hql.QueryLoader.list(
at org.hibernate.hql.ast.QueryTranslatorImpl.list(
at org.hibernate.engine.query.HQLQueryPlan.performList(
at org.hibernate.impl.SessionImpl.list(
at org.hibernate.impl.QueryImpl.list(


Lester Burnham

Joined: Oct 14, 2008
Posts: 1337
The has an entry about the PermGen space issue.
I agree. Here's the link:
subject: Java Profiler
It's not a secret anymore!