logoalt Hacker News

01HNNWZ0MV43FF • today at 5:56 PM • 1 reply • view on HN

If the user was feeling stochastic, the OS could theoretically just drop pages that haven't been accessed in, say, 2 days, and send the process a segfault if it tries to access them.

Thus solving memory leaks forever...


Replies

bayindirh • today at 6:14 PM

I believe one can create a kernel module called leaky_ram to make this possible. No?