Adrian Crum wrote: > I wonder how that could be tested. Go look into jhat and jconsole, and be sure to use java 1.6. With java 1.6, you can attach jconsole to an already running java instance, and get a binary memory dump. Then, using jhat, you can, with much diligence, drill down to find how large the character array is for a particular string.
It's how I knew that doing String.intern() on the data read from the entitymodel.xml files would be useful. See svn version 585838.
