> fails again with ENOMEM. > Is there any easy way to use a shared memory segment which is larger > than 2GB? getting two smaller ? :) no idea - maybe it's bug of SHM. as you already checked it please do sent-pr