You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "saket arora (JIRA)" <xm...@xml.apache.org> on 2009/10/11 19:00:31 UTC

[jira] Commented: (XMLBEANS-415) Xobj$ElementXobj object going in cyclic referance and not getting released .

    [ https://issues.apache.org/jira/browse/XMLBEANS-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764487#action_12764487 ] 

saket arora commented on XMLBEANS-415:
--------------------------------------

Hello Cezar 

Thanks for your reply , we found out the issue , it was not an issue with XML beans , issue was with our ehcache implementation , our flushing mechanism was not working and this caused those objects to be in memory for ever. The problem was in annotation based caching provided by spring which was killing our system .

PS: Dont use annotation based caching module of spring.

Thanks again of your reply.

Cheers 

Saket

> Xobj$ElementXobj object  going in cyclic referance and not getting released .
> -----------------------------------------------------------------------------
>
>                 Key: XMLBEANS-415
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-415
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: XmlObject
>    Affects Versions: Version 2.4 
>         Environment: oracle weblogic  9.2, Jrockit  27, Xml beans 2.4 + axis webservices + org.codehaus.mojo maven plugin + dozer 4.1 + spring framework.
>            Reporter: saket arora
>
> Hello 
> We are running our web application on weblogic jrockit and having serious memory leaks ,  after around 4 hrs of load testing memory of server (having java heap of 2 GB) goes down 100% and than never comes down (though session timing out )
> In the JRMC control when we saw what all objects are hanging in memory , we found there is about 1.5 GB of memory eatan up by char array , when further inspected almost most of them are created by  Xobj$ElementXobj  which are having almost  40000 cyclic refernces . Objects of this class are pointing back to itself and are never getting garbage collected..
> We are using lots of xml parsing vis factory.parse method of xmlobject . I am not sure where this xobj$ElementXobj is used by xml beans and we are cluelass why its growing so much ..
> any help would be god send.
> Thanks
> Saket 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org