Retrieve available memory from system.