Two further comments:
- If I run your code unmodified, I get the private working set as 115MB (with the Virtual Size: 210MB).
But if I modify BlockSize => 104857600 (100MB) to BlockSize => 1024**2 (1MB), then the PWS falls to 14MB (VS:108MB).
So basically, 92% of the PWS size is down to the 100MB buffer you've requested.
- However you are measuring this on Linux, it's lying to you. (Or ignoring your request for a 100MB buffer.)
You can't have a process with a 100MB buffer only occupying 15MB.
You need to ensure that you're comparing apples with apples; which you evidently aren't yet.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
In the absence of evidence, opinion is indistinguishable from prejudice.