Recently we integrated xsltc into Tiger and some of our tests throw OutOfMemory
error. I profiled the test using OptimizeIt and have found that sun.text.resources.LocaleElements.java has 887 allocations which is 38.24% of the allocations of the 2319 char[] allocations . The source code history shows that that bug 4819436 was fixed and integrated in tiger-beta b28. I am attaching the profiled information. This seems like a bug in the getContents().
http://javaweb.sfbay.sun.com/~bhakti/jaxp/data.html
Filing the bug as per discussion with Yuka.
===
Hi:
Santiago narrowed down the problem to java.text.DecimalFormat class with a test program. He was able to reproduce the problem with small program. I am attaching that test program and raising priority to P2. Please change sub-category if needed.
-Ramesh