Increased memory limit to 1MB (fixes #4)