You need to use the set method of IPC::Msg to set the qbytes attribute of the queue.
/J\
In reply to Re: Resizing IPC::Msg queue size by gellyfish in thread Resizing IPC::Msg queue size by Jeppe