Hacker News new | ask | show | jobs
by DannyB2 2068 days ago
> Java's high memory usage

I would rather optimize for performance and energy use at the cost of higher memory use.

See recent SN:

https://news.ycombinator.com/item?id=24642134

https://greenlab.di.uminho.pt/wp-content/uploads/2017/10/sle...

Memory is a one time capital cost and gets cheaper over time.

2 comments

High memory usage forces you to only run one JVM process. If you need to do something that doesn't require a significant amount of memory you can't use Java at all.
> Memory is a one time capital cost and gets cheaper over time.

Except if you're operating in the cloud.

True, yet not everyone is trying to be the next FAANG.

Besides, plenty of GC enabled languages support value types and ways to do deterministic deallocation, use the tools Luke.