geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-4456) ClassLoader memory leak caused by AspectJ
Date Tue, 09 Dec 2008 23:14:44 GMT
ClassLoader memory leak caused by AspectJ
-----------------------------------------

                 Key: GERONIMO-4456
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4456
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.2
            Reporter: Kevan Miller
            Assignee: Kevan Miller
             Fix For: 2.2


AspectJ is causing a ClassLoader memory leak. The problem is causing OOME PermGen failures
in TCK tests.

The access patterns that keep the classloaders alive are as follows:

{noformat}
org.apache.geronimo.kernel.config.MultiParentClassLoader
  loader of  org.aspectj.weaver.loadtime.DefaultWeavingContext
    weavingContext of  org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor
      weavingAdaptor of  org.aspectj.weaver.loadtime.Aj$ExplicitlyInitializedClassLoaderWeavingAdaptor
	value of  java.util.WeakHashMap$Entry
	  [413] of  java.util.WeakHashMap$Entry[1024]
	    table of  java.util.WeakHashMap
	      weavingAdaptors of  org.aspectj.weaver.loadtime.Aj$WeaverContainer
		[11] of  java.lang.Object[1280]
		  elementData of  java.util.Vector
		    classes of  org.apache.geronimo.kernel.config.MultiParentClassLoader
		      classLoader of  org.apache.geronimo.gbean.runtime.GBeanInstance
			[1283] of  java.lang.Object[2048]
			  table of  java.util.IdentityHashMap
			    instanceRegistry of  org.apache.geronimo.kernel.basic.BasicRegistry
			      instanceRegistry of  org.apache.geronimo.gbean.runtime.GBeanInstance [Stack Local]
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message