Determine total and free memory.