feat(admin): flag a heap limit below 700 MB with the setting to raise

The support report and the system status now say in one sentence when the
heap is the 1 GB-container size and point at APP_MEMORY_LIMIT.

Refs #1239
This commit is contained in:
Marc-André Bombeck committed 2026-10-18 13:10:20 +02:00
1 parent ac047854ba
commit 1d7077286f
16 files changed
+147 -7

No files matched your search

+2
View File
@@ -61,6 +61,8 @@ export interface SystemStatus {
buildTime: string;
startTime: string;
database: string;
/** The process's heap ceiling; `low` when it is below what a long-used account needs. */
memory: { heapLimitMb: number; low: boolean };
worker: WorkerStatus;
/**
* Queues whose jobs exhausted their retries recently. `null` means the
@@ -13,6 +13,7 @@ import {
Key,
Loader2,
Map,
MemoryStick,
Server,
Users,
} from "lucide-react";
@@ -156,6 +157,16 @@ export function SystemStatusSection() {
}
tone={status.database === "connected" ? "success" : "destructive"}
/>
<StatusItem
icon={MemoryStick}
label={t("admin.heapLimitLabel")}
value={
status.memory.low
? t("admin.heapLimitLow", { mb: status.memory.heapLimitMb })
: t("admin.heapLimitValue", { mb: status.memory.heapLimitMb })
}
tone={status.memory.low ? "warning" : undefined}
/>
<StatusItem
icon={Clock}
label={t("admin.startedAt")}