I have to say I am surprised that Java is better than Go in terms of energy/time.
Equivalant service in Java idles around 400mb of ram when Go service might use 70mb.
There's little about Go's design that is more "Ram efficient." That's not what it was made for. It's for low latency, and if you want that in Java, there are other GC's that can do that (with similar tradeoffs to Go).