On 3/18/2016 3:09 PM, John Hewson wrote:
When we do the scan, we close each font immediately afterwards. If PDFBox then goes on to use that font, we’ll re-open the file and then cache the new font. The cache is a map of SoftReference<T> objects, which get released when the JVM feels like it. But now I’m wondering, when do we close fonts which are dropped from the FontCache? Maybe there’s an issue here… — John
I just did lsof -p <tomcat pid> and I have 148 TrueType fonts open. -- George Sexton *MH Software, Inc.* Voice: 303 438 9585 http://www.connectdaily.com
