[Qt-interest] QSharedMemory limits on Mac OS X

Kustaa Nyholm Kustaa.Nyholm at planmeca.com
Wed Apr 14 08:28:41 CEST 2010


A quick web search indicates the shared memory on Mac OS X is
limited to 4 MB by default and it cannot be changed on the
fly and changing it requires quite a lot of privileges.

So does QSharedMemory use this shared memory mechanism and
is it thus limited system wide to 4 MB?

4 MB is not a lot if you need to share something like
frame buffers...

This page:

http://www.ssec.wisc.edu/mcidas/doc/users_guide/2009.2/SharedMemory.html

implies that Linux and Solaris too have limitations that
are easy to run into.


br Kusti





More information about the Qt-interest-old mailing list