I am using the Boost.Interprocess library on an Intel i7 processor with Windows Embedded 7 64bit operating system. I have successfully created 2 managed shared memories about 400 Megabytes size, from 2 different processes. When I try to create a 1 Gigabyte managed shared memory from a third process, it takes more than 5 minutes. There is plenty of free space in the drive. The process gets stuck on function:
new managed_shared_memory(open_or_create, name, 1 Gigabyte);
Why is so slow? If I run this process alone, it takes less than 1 second.