Changes freeMemory signature