add FreeMemory to tools: a function re report the amount of free memory