WorldWindJava
WorldWindJava copied to clipboard
Memory leak BUG at TextRenderer
In my application, i have a WorldWindowGLJPanel(wwd). I also have a polling that call wwd.redraw() every 2 seconds, but theres a memory leak that i cant clean on textRendererCache that apparently is on the sceneController, inside WorldWindowGLJPanel.
At class TextRenderer, there's a object "private final GlyphProducer mGlyphProducer" and the method getGlyphs(CharSequence inString) is called everytime a string will be plotted. Inside this method, as my string is different everytime, this command is executed "fullGlyphVectorCache.put(inString.toStr ing(), fullRunGlyphVector);". This fullGlyphVectorCache is never cleaned.