Memory Usage: Compact the SoftReferenceSymbolTable if the number of symbols
falls below 25% of the rehash threshold.
--------------------------------------------------------------------------------------------------------------------
Key: XERCESJ-1521
URL: https://issues.apache.org/jira/browse/XERCESJ-1521
Project: Xerces2-J
Issue Type: Improvement
Components: Other
Affects Versions: 2.11.0
Reporter: Michael Glavassevich
Priority: Minor
After cleaning out cleared SoftReferences from the SymbolTable, the remaining
set of symbols may be far fewer than the number of buckets in the table. If
this has dropped to below 25% of the load factor for the table it would be a
good idea to compact it and free up more memory, so we're not wasting so much
space.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]