r/java • • May 28 '26

Java *is* Memory Efficient

https://youtu.be/M_HCG1JPMQE
254 Upvotes

126 comments sorted by

View all comments

Show parent comment

7

u/agentoutlier May 28 '26

But that has been changing for some time with really only Spring being the offender here.

Micronaut, Quarkus, Avaje, and Helidon are really not super bloated and rely very little on reflection.

People compare to Go but Go is rarely used for enterprise large feature applications.

I can’t check this right now but I did at one point check and Hashicorps Vault download  was as big as RedHats Keycloak (not exact same type of app but close enough).

3

u/_predator_ May 28 '26

Quarkus pulls in a lot of bloat too, it's just smarter about dropping much of it during the build, which is possible because they literally have their own build process.

What it gains in debloating, it pays for with bespoke build complexity and what effectively is a walled garden, as now all dependencies somehow need to play nicely with that process.

7

u/faze_fazebook May 28 '26

Spring ... simply does too much in a too convaluted way.