Answer the question
In order to leave comments, you need to log in
Why does Spring Boot eat so much memory?
There is an application, quite small, using pure Spring and its extensions + JPA + Mongo + Integration-IP + Jetty embedded. In production, it eats 300 megs, here is its idle work schedule:
Remade it to Spring Boot - replaced dependencies with bootstrap, sawed out jetty (since there is a tomcat in the boot). In an idle start, it started many times more. Here is the chart
. Is this normal?
Answer the question
In order to leave comments, you need to log in
Yes, good. Boot is a set of crutches, they reduce the amount of work for the programmer by increasing the amount of work performed by the framework, respectively, and memory consumption will be higher and performance will be lower.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question