Cleaning System Resources & Cache memory

It’s very easy to reproduce, just run haiku in a vm and give it 1 or 2 GB of ram and use any browser, the memory is exhausted in less than 5 minutes of browsing and is not released when you close the browser, only a reboot will, sometimes loading a single website like reddit is enough to trigger it, because we have 2 problems here, a memory leak possibly somewehe in the networking and the fact that the kernel does no release the memory after closing the browser, FWIW i remember this networking memory leak started right after the gsoc when a student worked on the tcp protocol, i hope this helps narrow down the area of investigations.

2 Likes