Why mmap a file result in using more memory than file's size?

One thing is certain: the results depend on the state of the system and not only on the running application. On my machine, the increase in RES was 136 kB the first two times I run the program, but the subsequent runs didn't involve any increase at all - probably the OS already had the whole file in cache. Interestingly, the values themeselves differed significantly between runs.

In the first run the jump in RES was from 344 to 480 kB, but the latter runs had a RES value of 348 kB all the time. There was a similar change in SHR: a jump of 136 kB first time and no change later.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions