https://bz.apache.org/bugzilla/show_bug.cgi?id=59805
Bug ID: 59805
Summary: LocaleUtil causes memory leak
Product: POI
Version: 3.14-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: POI Overall
Assignee: [email protected]
Reporter: [email protected]
org.apache.poi.util.LocaleUtil (introduced in 3.13) causes memory leak.
The following error messages are logged when redeploying an application which
uses POI 3.14:
06-Jul-2016 11:05:48.760 SEVERE
[ContainerBackgroundProcessor[StandardEngine[Catalina]]]
org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks
The web application [ROOT] created a ThreadLocal with key of type
[org.apache.poi.util.LocaleUtil$2] (value
[org.apache.poi.util.LocaleUtil$2@198b08c]) and a value of type
[java.util.Locale] (value [ja_JP]) but failed to remove it when the web
application was stopped. Threads are going to be renewed over time totry and
avoid a probable memory leak.
06-Jul-2016 11:05:48.769 SEVERE
[ContainerBackgroundProcessor[StandardEngine[Catalina]]]
org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks
The web application [ROOT] created a ThreadLocal with key of type
[org.apache.poi.util.LocaleUtil$1] (value
[org.apache.poi.util.LocaleUtil$1@14dfba9]) and a value of type
[sun.util.calendar.ZoneInfo] (value
[sun.util.calendar.ZoneInfo[id="Asia/Tokyo",offset=32400000,dstSavings=0,useDaylight=false,transitions=10,lastRule=null]])
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.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]