Aspose.Words.jdk16-13.2.0.0 causing Tomcat 7.0.39 memory leak warning logs :
When running my tests on the document "myDoc.doc" in attachment, everything is ok. But I get these logs when i stop the Tomcat :
SEVERE : The web application [/es] created a ThreadLocal with key of type [asposewobfuscated.ëHO$1] (value [asposewobfuscated.ëHO$1@76673829]) and a value of type [asposewobfuscated.ëHN] (value [asposewobfuscated.ëHN@72984879]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
I discovered that at least thes method generate the memory leak :
- Document srcDoc = new Document(filePath + "myDoc.doc");
- Node dstNode = dstDoc.importNode(srcSection, true, ImportFormatMode.USE_DESTINATION_STYLES);
I don't know if there is any destructor or cleaner for this method, but I don't find it !