[Interest] How to know QSharedMemory maximum system allowed size

Calogero Mauceri mauceri at actgate.com
Thu May 16 12:02:20 CEST 2013

Hi all,

I'm using QSharedMemory to share data between different processes.
I found out that there is a limit to the maximum size a shared memory 
segment can be. On Mac OS for example the QSharedMemory::create returned 
an error like "system-imposed size restrictions".
Is there a way programmatically to know which is the maximum size the 
system allows for the QSharedMemory, in order to adopt proper data 
splitting policies depending on it?

Thank you very much for your help.

Calogero Mauceri
Software Engineer

Applied Coherent Technology Corporation (ACT)

More information about the Interest mailing list