Go is not less wasteful than java, both are garbage collected and their memory pressure depend highly on the given workload, and the runtime of the program. But java allow more GC tuning and even different GCs for different use cases (ie: shenadoah and ZGC favor very low latency workloads, while the default G1GC favors throughout (not that simple, but you get the point))
Regardless, Java/Go tier of performance is good enough for this kind of thing.
Regardless, Java/Go tier of performance is good enough for this kind of thing.