[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-840) OutOfMemoryError: Java heap space

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Mar 8 13:05:22 EST 2007


    [ http://jira.jboss.com/jira/browse/EJBTHREE-840?page=comments#action_12355524 ] 
            
Brian Stansberry commented on EJBTHREE-840:
-------------------------------------------

To get rid of the http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6254531 problem you have to make sure there is no reference chain from the value (BeanContext) to the ThreadLocal.  That chain of refs is via EjbContainer.pool and StatefulContainer.cache.  Clearing those refs in Container.stop() should let the ThreadLocal get gc'd.

> OutOfMemoryError: Java heap space
> ---------------------------------
>
>                 Key: EJBTHREE-840
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-840
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: AS 4.2.0 CR1, EJB 3.0 RC9 - Patch 1
>         Environment: AS 4.2 (20070122)
>            Reporter: Carlo de Wolf
>         Assigned To: Carlo de Wolf
>            Priority: Critical
>             Fix For: AS 4.2.0 CR1, AS 4.2.0 CR2
>
>
> OutOfMemoryError when running microbench

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

        



More information about the jboss-jira mailing list