Add shm size to fix memory error.