+
+ {history.slice(-60).map((h: any, i: number) => {
+ const pct = maxAlloc > 0 ? ((h.alloc_mb || 0) / maxAlloc) * 100 : 0
+ return (
+
+ )
+ })}
+
+
+ {history[0]?.timestamp?.slice(11, 19) || '--'}
+ {history[history.length-1]?.timestamp?.slice(11, 19) || '--'}
+
+