Actually never mind... I can just set SHARK_MASTER_MEM instead.