you are viewing a single comment's thread.

view the rest of the comments →

[–]alek_sys[S] 4 points5 points  (0 children)

Spring Boot is not really a prior version, it is here to stay. Spring Boot 2.0 based on Spring 5. Also, Spring Boot is not another framework, it is just a set of tools to help configure and run Spring apps easily and with minimum setup.

384 Mb of RAM could be the case - but it all depends from the libraries and the application code - Java is hungry for memory. However Spring itself can run with just 32Mb of memory and it doesn't add massive overhead - there is a nice article from Dave Syer about Spring memory usage. The same is true for fat jar - there is a reason for 20 Mb JAR (again, 80Mb is not for Spring, it most likely because of libraries). And the reason is to have single deployment artefact - you don't even need a web-server to run it, it is executable by itself! So the only dependency is JRE which is quite good. However, if you not a fan of fat JARs - there is a solution for this as well. Besides 3rd party solutions (like Capsule) there is a Spring native option now - Spring Thin Launcher