Eclipse MAT 1.17.0 batch report (org.eclipse.mat.api:suspects) on heap.hprof -- Problem Suspect 1
================================================================================================

Problem Suspect 1 The class com.ankurm.oomdemo.ListenerLeakApplication , loaded by
org.springframework.boot.loader.launch.LaunchedClassLoader @ 0xf60535d8 , occupies 141,336,208
(95.93%) bytes. The top consumers of its minimum retained heap are byte[] (1,085 instances
totaling 141,313,240), com.ankurm.oomdemo.ListenerLeakApplication$$Lambda+0x000000009b25dce8
(1,079 instances totaling 17,248), and java.lang.Object[] (6 instances totaling 4,504). The
memory is accumulated in one instance of java.lang.Object[] , loaded by <system class loader> ,
which occupies 141,334,440 (95.93%) bytes. Thread java.lang.Thread @ 0xf60b4438 main has a local
variable or reference to class com.ankurm.oomdemo.ListenerLeakApplication @ 0xf6000000 which is
on the shortest path to java.lang.Object[1078] @ 0xfff40020 . The thread java.lang.Thread @
0xf60b4438 main keeps local variables with total size 108,528 (0.07%) bytes. The top consumers
of its minimum retained heap are byte[] (1,085 instances totaling 141,313,240),
com.ankurm.oomdemo.ListenerLeakApplication$$Lambda+0x000000009b25dce8 (1,079 instances totaling
17,248), and java.lang.Object[] (6 instances totaling 4,504). Significant stack frames and local
variables org.springframework.boot.SpringApplication.run(Ljava/lang/Class;[Ljava/lang/String;)Lo
rg/springframework/context/ConfigurableApplicationContext; (SpringApplication.java:1354) class
com.ankurm.oomdemo.ListenerLeakApplication @ 0xf6000000 retains 141,336,208 (95.93%) bytes org.s
pringframework.boot.loader.launch.Launcher.launch(Ljava/lang/ClassLoader;Ljava/lang/String;[Ljav
a/lang/String;)V (Launcher.java:106) class com.ankurm.oomdemo.ListenerLeakApplication @
0xf6000000 retains 141,336,208 (95.93%) bytes The stacktrace of this Thread is available. See
stacktrace . See stacktrace with involved local variables .
