set memory limit at 256M