2 ms·
> Why is there swap used when I have free memory? That data may have been evicted during a previous moment of higher memory pressure. If it hasn't been needed
by wtallis 8mo ago
> Why is there swap used when I have free memory?
That data may have been evicted during a previous moment of higher memory pressure. If it hasn't been needed since, leaving it in swap probably makes more sense than preemptively paging in data that's known to be cold.
- zadikian 8mo agoYeah you're right. But now I'm wondering if it preferred writing to swap over evicting the cache at that time... can make sense if the cache is being hit more than the pages it's swapping out. 13GB app usage is also odd. I feel like running the same thing with half the RAM wouldn't really result in like 5GB of swap.