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
            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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to