MemoryHandlerOptions
Nodepod API / src / MemoryHandlerOptions
Interface: MemoryHandlerOptions
Section titled “Interface: MemoryHandlerOptions”Defined in: src/memory-handler.ts:95
Properties
Section titled “Properties”budgetMB?
Section titled “budgetMB?”
optionalbudgetMB?:number
Defined in: src/memory-handler.ts:97
Soft per-pod memory budget in MB. Default: 400.
heapWarnThresholdMB?
Section titled “heapWarnThresholdMB?”
optionalheapWarnThresholdMB?:number
Defined in: src/memory-handler.ts:113
Heap usage threshold in MB to trigger pressure callbacks. Default: 350
manifestCacheSize?
Section titled “manifestCacheSize?”
optionalmanifestCacheSize?:number
Defined in: src/memory-handler.ts:105
LRU capacity for package.json manifest cache. Default: 256
maxProcessOutputBytes?
Section titled “maxProcessOutputBytes?”
optionalmaxProcessOutputBytes?:number
Defined in: src/memory-handler.ts:117
Max process stdout/stderr accumulation in bytes. Default: 4194304 (4MB)
moduleSoftCacheSize?
Section titled “moduleSoftCacheSize?”
optionalmoduleSoftCacheSize?:number
Defined in: src/memory-handler.ts:111
Max modules before trimming node_modules entries. Default: 512
monitorIntervalMs?
Section titled “monitorIntervalMs?”
optionalmonitorIntervalMs?:number
Defined in: src/memory-handler.ts:115
Monitoring poll interval in ms. Default: 30000
pathNormCacheSize?
Section titled “pathNormCacheSize?”
optionalpathNormCacheSize?:number
Defined in: src/memory-handler.ts:99
LRU capacity for path normalization cache. Default: 2048
resolveCacheSize?
Section titled “resolveCacheSize?”
optionalresolveCacheSize?:number
Defined in: src/memory-handler.ts:103
LRU capacity for module resolve cache. Default: 4096
statCacheSize?
Section titled “statCacheSize?”
optionalstatCacheSize?:number
Defined in: src/memory-handler.ts:101
LRU capacity for stat result cache. Default: 512
transformCacheMaxBytes?
Section titled “transformCacheMaxBytes?”
optionaltransformCacheMaxBytes?:number
Defined in: src/memory-handler.ts:109
Approximate UTF-16 byte budget for transformed source. Default: 24 MiB
transformCacheSize?
Section titled “transformCacheSize?”
optionaltransformCacheSize?:number
Defined in: src/memory-handler.ts:107
LRU capacity for source transform cache. Default: 512