-
1. Re: Undertow Subsystem Memory Leak upon WAR Redeployments
ctomc Oct 9, 2015 12:50 PM (in response to catandgrep)It is indeed memory leak, but triggered by arquillian servlet protocol testing.
I've send PR with fix described what is going one more in issue you created Undertow Memory Leak · Issue #8263 · wildfly/wildfly · GitHub
-
2. Re: Undertow Subsystem Memory Leak upon WAR Redeployments
fabian.chanton Nov 23, 2015 8:27 AM (in response to ctomc)I encounter a very similar problem if I repeatedly (manually) redeploy a war containing just a very simple servlet class. So there is no arquillian involved. After each undeploy the servlet class remains in memory. So this should mean there is something wrong with undertow or the way wildfly uses it. Can anyone else confirm this problem?
-
3. Re: Undertow Subsystem Memory Leak upon WAR Redeployments
ctomc Nov 23, 2015 5:33 PM (in response to fabian.chanton)how are you verifying that class is still loaded?
do you do few full GC cycles before checking for leftover classes
-
4. Re: Undertow Subsystem Memory Leak upon WAR Redeployments
fabian.chanton Nov 24, 2015 3:04 AM (in response to ctomc)Hi Tomaz
I tried it again, but this time waited longer and forced more garbage collections via yourkit profiler. It seems that i did not wait long enough. After several minutes / garbage collections the servlet object is collected.
Sorry for the false alarm and thank you for your answer!