limit memory allocation, tmp