On 07/03/2020 1:17, Shen, Chang (MSFC-EV43) via Boost-users wrote:
I test the class in Window 10 using MinGW 32bit compiler.

g++ (MinGW.org GCC-8.2.0-3) 8.2.0

Copyright (C) 2018 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I find that I only can create 1463 X objects.

1464^th object will throw exception:

Dynamic exception type: boost::interprocess::interprocess_exception

std::exception::what: WinApi FormatMessage returned error.

Why this limitation?

A shared memory object creates a file. You can hit the file descriptor limit of the OS.

However the "WinApi FormatMessage" error tells nothing, so a bug report would be welcome.

Best,

Ion
_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to