I believe that is why the original Java answer to microservices was EARs all within a single app server so they could share a JVM and caching. Then in production for load you could spread them all out and they can find eachother... but I've never worked in actively developed JEE (as opposed to a legacy one).
Re:FF4J – Feature Flags for Java
by imtringued on Thursday June 08, 2023 @02:07PM
(#36246113)
It's especially bad when you have to run both IntelliJ with multiple projects and grails.
Currently I can't run my integration tests on my work laptop because they spin up a bunch of "micro" services, so I run out of ram and need to reboot.
The memory that Java "doesn't require" really adds up.