Make the memoryStatus method a class method.