Reduce pressure on memory by ensuring that classes with a finalize method make
their fields available for garbage collection at earliest possible opportunity
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: DS-773
URL: https://jira.duraspace.org/browse/DS-773
Project: DSpace
Issue Type: Improvement
Components: DSpace API
Reporter: Graham Triggs
Assignee: Graham Triggs
Priority: Major
Fix For: 1.7.0
There are a couple of classes in DSpace that have a finalize() method - most
notably Context().
When those objects are discarded, any objects referenced by their fields can
not be garbage collected until the finalizer queue has processed it.
By reducing the amount of values retained where possible (ie. by cleaning the
Context cache on a complete or abort), we can reduce the pressure on the memory
by allowing the objects to be garbage collected before the finalizer thread has
processed the referencing objects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel