Add setting for memory limit for the preloader script