store minimum value of free memory after each malloc