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

Function parseCgroupV2LimitMb

packages/engine/src/services/systemMemory.ts:43–50  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

41}
42
43function parseCgroupV2LimitMb(content: string): number | null {
44 const trimmed = content.trim();
45 if (trimmed === "max") {
46 return null;
47 }
48
49 return parsePositiveByteLimitMb(trimmed);
50}
51
52function parseCgroupV1LimitMb(content: string | null): number | null {
53 if (content === null) {

Callers 1

parseCgroupLimitMbFunction · 0.85

Calls 1

parsePositiveByteLimitMbFunction · 0.85

Tested by

no test coverage detected