Added method for getting effective free memory.