MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / isLowMemorySystem

Function isLowMemorySystem

packages/engine/src/services/systemMemory.ts:178–180  ·  view source on GitHub ↗
(totalMb: number = getSystemTotalMb())

Source from the content-addressed store, hash-verified

176 * small VMs, small Lambda tiers, small containers) are detected correctly.
177 */
178export function isLowMemorySystem(totalMb: number = getSystemTotalMb()): boolean {
179 return totalMb <= LOW_MEMORY_TOTAL_MB_THRESHOLD;
180}

Callers 3

resolveLowMemoryModeFunction · 0.85
config.test.tsFile · 0.85

Calls 1

getSystemTotalMbFunction · 0.85

Tested by

no test coverage detected