Use intern() to reuse strings and reduce memory usage
-----------------------------------------------------
Key: HHH-3924
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3924
Project: Hibernate Core
Issue Type: Patch
Components: core
Affects Versions: 3.3.1
Reporter: Philippe Julien
Priority: Minor
Attachments: memoryusage.patch
DefaultEntityAliases suffix and rowIdAliases String fields are not interned as are other
fields in the class. This leads to significant of memory usage on our application.
BasicLoader suffixes and QueryLoader sqlAliasSuffixes can also be interned so as to save
more memory.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira