0 Replies Latest reply on Oct 10, 2018 12:02 PM by nanalash

    Memory leak in my application/wildfly

    nanalash

      Hello,

       

      My team and I are currently upgrading to Wildfly 13. However, I've been trying to wrap my head around why our applications running on Wildfly 9.0.2-Final have been maxing out in memory. I observed that the application memory usage typically starts at about 1GB, and then grows steadily to 11.xGB. A strange behaviour I noticed is that the memory increases regardless of whether or not my wars are deployed to it. So it looks like the problem is two-fold: possible memory leak in my wildfly and possibly another leak in my application.

      Borrowing from the issue raised here https://issues.jboss.org/browse/UNDERTOW-683 I took a jmap -histo of the process ID (see full histo attached).

       

      Frankly, I am not sure what to make of these stats. I do think that jboss dmr and as controller are potential culprits and I intend to continue my investigation in that line. However, I would greatly appreciate any help in getting to the bottom of this. I'm on standby to provide any additional info required.

       

      My goal is to ensure that we do not carry over any memory leaks to any new deployments.

       

      Thank you.