You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2008/04/21 17:53:21 UTC

[jira] Resolved: (AXIS2-3758) JAXWS: Out Of Memory Issues With JAXBContext

     [ https://issues.apache.org/jira/browse/AXIS2-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-3758.
-----------------------------------

    Resolution: Fixed

Committed revision 650177.


> JAXWS: Out Of Memory Issues With JAXBContext
> --------------------------------------------
>
>                 Key: AXIS2-3758
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3758
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
>
> Problem:
> For large applications, the JAXBContext (and Marshaller/Unmarshaller objects) can consume quite a bit of memory.  For this reason, JAXBUtils caches and releases these artifacts.  However, we have encountered situations where gc() still does not free up these large objects.
> Solution:
> I discovered several places in JAXBUtils and JAXBDSContext where WeakReference objects will allow gc() to reclaim memory.  I will commit these changes soon.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org