You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Gianny Damour (JIRA)" <de...@geronimo.apache.org> on 2005/10/24 23:30:55 UTC

[jira] Closed: (GERONIMO-983) Memory used by proxies isn't released by dereferencing the proxy (I speculate)

     [ http://issues.apache.org/jira/browse/GERONIMO-983?page=all ]
     
Gianny Damour closed GERONIMO-983:
----------------------------------

    Resolution: Fixed

Thanks for this patch Kevan! And sorry for the delay.

Sending        modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java
Adding         modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyMap.java
Adding         modules/kernel/src/test/org/apache/geronimo/kernel/basic
Adding         modules/kernel/src/test/org/apache/geronimo/kernel/basic/BasicProxyMapTest.java
Transmitting file data ...
Committed revision 328153.


> Memory used by proxies isn't released by dereferencing the proxy (I speculate)
> ------------------------------------------------------------------------------
>
>          Key: GERONIMO-983
>          URL: http://issues.apache.org/jira/browse/GERONIMO-983
>      Project: Geronimo
>         Type: Bug
>   Components: console, kernel
>     Versions: 1.0-M5
>     Reporter: Aaron Mulder
>     Assignee: Gianny Damour
>     Priority: Critical
>      Fix For: 1.0
>  Attachments: BasicProxyMap.patch, ConsoleFix.txt, ReferenceIdentityMap.patch, basicProxyManager.patch
>
> On Wed, 7 Sep 2005, Neal Sanche wrote:
> > I compiled up a new Geronimo, and then I left it running with the Server 
> > Info page displayed so I could see the cool AJX work there... and then I 
> > forgot about it for a day or so. When I got back it was saying:
> > 
> > 20:56:53,219 WARN  [ThreadedServer] EXCEPTION
> > java.lang.OutOfMemoryError: Java heap space                                     
> On Wed, 7 Sep 2005, Neal Sanche wrote:
> > Well, I did some profiling, and found that the predominant object that 
> > was being retained was:
> > 
> > org.apache.geronimo.kernel.basic.RawGetAttributeInvoker
> > 
> > There are also another slowly growing group of geronimo classes that
> > seem to pile up, and they aren't getting garbage collected either:
> > 
> > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor and many 
> > internal classes of this class.
> The console uses lots of proxies and doesn't manually close them, just releases the references.  Seems like this leaks memory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira