String Pool cache ?


We aware "String Pool" Cache will Reduce memory requirements. But We need further details on this.

Can you share your thoughts on this.

Sathesh G

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

December 7, 2011 - 12:23pm

About StringPool Cache Memory Requirements...

Running a SOAP service over a long period of time resulted in memory exceptions for both permanent and heap memory spaces. This problem occurred when the process unconditionally cached large numbers of property reference strings.
To correct this problem, Property reference strings are no longer cached in the StringPool as the default mode. Instead, they are cached when they contain either no subscripts or one subscript using only a number less than 100. PropertyReference objects will still cache their reference strings but are limited by the limit of the MRU cache. When enough unique PropertyReference objects created to exceed the cache pruning limit, the cache will stop to hold on to PropertyReferences containing subscripts.

December 8, 2011 - 8:36am

Thanks for your explanation. Do you have any documents/links to know StringPool cache further.