From a56f8e6aef1320547c3bbc0a99babed86f13acd8 Mon Sep 17 00:00:00 2001 From: boundedbuffer Date: Sun, 7 Dec 2014 12:15:32 +0000 Subject: [PATCH] improved "How Operating Systems differ" --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 6dac3fe0a..f8032281d 100644 --- a/README.md +++ b/README.md @@ -299,8 +299,7 @@ says the size is 71 MB after adding 10000 entries. You can see the size actually There is two key differences between Windows and Linux -- Windows fails if you attempt to use more than 2^20 * 4 KB pages in a single mapping (4 GB). -This doesn't fail when you map the region, rather as you use it up. +- Windows fails if you attempt to use more than 4 GB in a single mapping. This calculated as 4GB = 2^20 * 4 KB pages. This doesn't fail when you map the region, rather as you use it up. It may be this limitation doesn't apply to newer or server based versions. In the future we may support multiple mappings to avoid this limitation, but there is no immediate plan to do so. Windows allocates memory and disk eagerly. - Linux allocates memory and disk lazily.