trying to limit the memory space for debugging
relocating memory limitation
fixed allocating
set memory limit
changed memory-fail-testing strategy