3 ms·
Memory leaks typically don't swap back in, so affect performance less than you'd think. Something like a GC scan can swap them though.
by astrange 5y ago
Memory leaks typically don't swap back in, so affect performance less than you'd think. Something like a GC scan can swap them though.
- saagarjha 5y agoWell, it depends on how you're leaking things. If you're doing small allocations and the leaks are interleaved with extant objects, the pages will remain live and you'll just cause pressure.