2 Aug
2013
2 Aug
'13
9:50 a.m.
Hello, Sorry formy latly reply.
Although shared memory is never guaranteed to be in RAM, you don't any any guarantee with your "process memory" (if memory pressure is detected the OS can swap you heap and/or executable pages to the swap file to free some RAM for other processes).
I put enough RAM in order not to be in pressure regarding the RAM. And I don't have this troubles when I don't use shared memory. But what you suggest (calling the Windows routines) seems to be the right solution.