Why Nostr? What is Njump?
2024-01-28 22:26:47
in reply to

Fabio Manganiello on Nostr: npub1pssyp…p6x53 yes, if you tune - Xmx/-Xms and friends properly. And if every ...

yes, if you tune - Xmx/-Xms and friends properly. And if every corner of your code knows how to deal with complex hierarchies of objects, knowing that a forgotten reference is forever.

In practice, I run several Java applications on my prod servers (Elastic, Kafka, Keycloak...), and even with very low workloads they end up taking between 500M-1G of memory - or whatever you allocate for -Xmx.

If a language's memory performance requires both developers to know how garbage collection works and how they should handle references (because, unlike Rust, the compiler won't tell you anything if you leak references across contexts), and sysadmins to tweak heap allocation options based on heuristic estimates of how much memory the application requires, then that language has a long way to go towards sustainable memory management.
Author Public Key
npub13uunvh7djw9ep54nswkuxlneyee7ehcpc7e53t68krykrdeg6j4qrdpvgs