views:

87

answers:

0

I've been profiling some Java software using heap dumps and there is 350 instances of sun.font.TrueTypeFont, in other heap dumps I have taken there have been more. There is only 5 instances of Font created by the app code, and 24 instances in all, mostly created by WDesktopProperties and other Java library classes.

Is this number of TrueTypeFont instances typical for a fairly large desktop app? If so then why? The FontManager takes up almost 200kb of RAM!

Thanks,

Andy