Add getLastHourMemory method