I am trying to allocate a shared memory with MapViewOfFile and it returns NULL with error code 8. As found on internet, I understand that I don't have enough memory available, or not enough contiguous memory available to allocate. The size of the memory I try to allocate is 200 MBytes. My PC has 2 GBytes total of RAM and I can see that with all the other processes opened, I still have more than 900 MBytes available. My program is using around 160 MBytes.
I am guessing that it should not failed.
Am I missing something ?