Boost logo

Boost Users :

Subject: Re: [Boost-users] allocating shared memory fails beyond 8 GB
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-04-29 03:59:10

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.



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at