Hi, I am trying to diagnose a heap usage issue in my application and it has stumped me for a few days now.
I am observing that the heap usage (as observed via VisualVM) steadily grows at a rate of approximately 20Mb/minute on an entirely *idle* server. I decided to get back to basics - I went and built the dropwizard example application from https://github.com/dropwizard/dropwizard/tree/master/dropwizard-example (from GitHub as of a day ago) and ran it on my environment. I am observing the same behaviour with it as well so it is beginning to make me question whether this is something within dropwizard itself. I started the example application and left it - not a single HTTP request has been submitted to it during my test. I see the heap growth and automatic GC that accompanies it in VisualVM (screenshot attached). Is this behaviour normal for drop wizard and if not, how can we go about fixing it (I am using to seeing heap usage stay relatively flat when an application is idle)? I'm running Mac OSX El Capitan 10.11.6 (15G31) and have tested 2 different JVM versions: java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) and java version "1.8.0_102" Java(TM) SE Runtime Environment (build 1.8.0_102-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode) -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
