Hi, 

   I am using managed_xsi_shared_memory to allocate memory as below: 


boost::interprocess::managed_xsi_shared_memory shmem(boost::interprocess::create_only, key, atol(argv[2]));



For some reason, I cannot allocate more than 8 GB of memory. Both sysctl and ipcs have limits higher than that set (output below). 


------ Shared Memory Limits --------

max number of segments = 1874919423

max seg size (kbytes) = 9765624999999

max total shared memory (kbytes) = 39999999999999996

min seg size (bytes) = 1


kernel.shmmax = 9999999999999999

kernel.shmall = 9999999999999999

kernel.shmmni = 1874919423

vm.hugetlb_shm_group = 0



Is there any reason why this allocation should fail ?