JasperReport created a ThreadLocal with key of type [java.lang.ThreadLocal] 内存泄漏

net.sf.jasperreports.evaluator.class.reference.fix.enabled

Property that indicates whether a legacy fix for a JVM issue related to evaluator classes generated by JasperReports is enabled. The fix is enabled by default. 

Due to the fix, the garbage collector might not be able to collect a classloader that loaded JasperReports classes. This would be inconvenient in scenarios in which JasperReports classes are repeatedly loaded by different classloaders, e.g. when JasperReports is part of the classpath of a web application which is often reloaded. In such scenarios, set this property to false.

API:PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLED 

Default:true

Scope:Global | Context

Since:3.0.0

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,481评论 0 10
  • 054333 胡燕儿 周末听袁晓峰老师给我们绘本中级班的学员上完课,我们吃饭时间里还在聊天,意犹未尽的感觉,回家后...
    猫布笑笑阅读 1,411评论 0 1
  • 又是一个月,也无风雨也无晴,虽然有过担心焦虑期待窃喜失望难过……好歹还活在,亦痛亦痒水深火热地活着! 中午跑去和老...
    兮兮0225阅读 74评论 0 0
  • 手里捧着《简爱》,想起了与它相关的一件往事。 那是无意中在报纸上看到的,有关配音方面的报名。对配音情有独钟的我,眼...
    Fwx烟雨倾城阅读 1,510评论 10 4
  • 其实近几篇都在讲斜杠,那你为什么要斜杠? 其实斜杠最终的目的是希望你能够找到你自己的完美的职业,那么,什么是完美职...
    兔小峥阅读 405评论 0 2