made free and total memory units independent.