29 Apr
2014
29 Apr
'14
7:59 a.m.
El 29/04/2014 3:56, vipin sachdeva escribió:
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).
Why type of exception throws? If an error is returned from the OS, the errno value will be stored in that exception. Best, Ion