logoalt Hacker News

happycrappytoday at 3:22 PM1 replyview on HN

Interesting strategy, can't believe I've never heard of this one before.

Would it be more pragmatic to allocate a swap file instead? Something that provides a theoretical benefit in the short term vs a static reservation.


Replies

prmoustachetoday at 5:06 PM

Because adding swap file is instantaneous, removing one that is in use can take a longtime unless you reboot the OS so you can't just nuke it quickly.