correcting shared-mem-size setting