I have deployed a very simple spring boot application locally. It has only one class - controller. That\'s pretty much it. What I\'ve noticed is that heap allocation is not stab
The fact that you are monitoring the application with VisualVM already leads to allocations in Java Heap.
VisualVM talks to JVM through JMX; you are basically observing the effect of this communication.