On Sat, 27 Aug 2022 13:32:54 -0700 American Citizen <[email protected]> wrote:
> Once I kill the algebraic > program, shouldn't we see system memory recovered? That sounds a lot like the hard disk caching thing that Linux does. It will save stuff read from the hard disk into unused memory, so that if it's read a second time, it will come straight from RAM, without touching the disk. If any process actually allocates memory, that disk cache will be deleted transparently to free up memory for it. Your problem might not be that, but I have heard of people noticing that their memory was still being "used" even though the programs had exited, and it turned out that it was disk caching, and Linux is kind of poorly designed, so they made it appear to be used memory, not unused memory or a special "disk cache" memory.
