[Boost-bugs] [Boost C++ Libraries] #8683: windows native shared memory freeze when no more ram available

Subject: [Boost-bugs] [Boost C++ Libraries] #8683: windows native shared memory freeze when no more ram available
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-10 11:21:52


#8683: windows native shared memory freeze when no more ram available
------------------------------+------------------------------
 Reporter: julien.potiron@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.53.0
 Severity: Problem | Keywords:
------------------------------+------------------------------
 Hi,

 I'm working with native windows shared memory and I have a problem when
 I'm running low on memory.

 If I have only 512Mb of Ram available and I create a window_shared_memory
 object with a size of 1Gb, the creation works well. But when trying to
 write inside the shared memory, the computer freezes, waiting for memory
 to be freed.

 Is there a way to avoid this freeze (I almost have to reboot my computer),
 or at least a way to throw an error when trying to write to memory we
 don't have ?

 Thanks.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8683>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC