Hello, I’m facing an issue that can't fully understand myself. I’m using struts since year 2000 (version 6.7 at the moment) in web apps with a mix of JSP and Freemarker templates. I use Tomcat as servlet container. Recently I found that when an app is hot deployed, I constantly find that some non heap memory is consumed. Analyzing thread dumps I found that an application context object is left in memory and this is referenced by a struts related class and a FreeMarker related class (that I think is created by struts). For example in the image attached you can see three application contexts that are caused by hot deploying the app two times after the tomcat server has started. The “bigger” context is the one of the running app. The two smaller ones are left after the two hot deploys. If I do N hot deploys I later found the same result with N+1 contexts. This is consuming a lot of Metaspace at each hot deploy.
Any hint on what can cause this ? Thanks
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org