new file:   max_mem_proc.c