Help me to find utilite to monitor physical memory usage for given application. Namely i want to see it reduction after calling
madvise(..., MADV_DONTNEED) on MAP_ANONYMOUS memory space.
Help me to find utilite to monitor physical memory usage for given application. Namely i want to see it reduction after calling
madvise(..., MADV_DONTNEED) on MAP_ANONYMOUS memory space.
madvise(2) - Linux manual page
The kernel might just bump that address range to the top of the list of pages to be next swapped out, but I doubt it would actively start a flurry of paging activity just on that basis. What happens next is surely in reaction to the demands of other processes on the machine.Originally Posted by the manual page
Also,
Originally Posted by man page for ps
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.