Re:Replacing a $3000/mo Heroku bill with a $55/mo server
by winrid on Wednesday October 22, 2025 @02:29AM
(#45665528)
It doesn't matter. The GC does not know what heap allocations are in memory vs swap, and since you don't write applications thinking about that, running a VM with a moving GC on swap is a bad idea.
[ Parent
| on HN ]
Re:Replacing a $3000/mo Heroku bill with a $55/mo server
by eru on Wednesday October 22, 2025 @04:37AM
(#45666328)
A moving GC can make sure to separate hot and cold data, and then rely on the kernel to keep hot data in RAM.
Re:Replacing a $3000/mo Heroku bill with a $55/mo server
by winrid on Wednesday October 22, 2025 @04:51PM
(#45674983)
Yeah but in practice I'm not sure that really works well with any GCs today? Ive tried this with modern JVM and Node vms, it always ended up with random multi second lockups. Not worth the time.