Running into memory leak issues when un-deploying thymeleaf enabled spring boot application from Tomcat/WildFly containers.
Memory leak goes away as soon as I remove "spring-boot-starter-thymeleaf" from POM.xml.
To recreate the problem, I created a new Spring Starter Project with just Thymeleaf and web dependency. Packaged it, deployed the war file and then undeployed the war file and the memory leak was there.
I took several heap dumps and they all point toward Thymeleaf as well.
I have tried Java 1.7 and 1.8, Tomcat 7 and 8 and WildFly.
Here are some of the jar version: