Interface: IsolatedLoadOptions
Defined in: packages/agentos/src/cognition/memory/io/ingestion/loadIsolated.ts:62
Options of loadIsolated.
Properties
maxExternalMb?
optionalmaxExternalMb:number
Defined in: packages/agentos/src/cognition/memory/io/ingestion/loadIsolated.ts:80
The worker's array buffers and external strings, in MiB, past which it is ended: read every 20 ms with
worker.getHeapStatistics(), which Node 22.16 and 24.0 add; on an earlier Node, a read given it is refused
with a TypeError. No check when left out.
maxHeapMb?
optionalmaxHeapMb:number
Defined in: packages/agentos/src/cognition/memory/io/ingestion/loadIsolated.ts:67
The worker's old generation, in MiB (resourceLimits.maxOldGenerationSizeMb). Default 256. A
--max-old-space-size the process was started with, on its command line or in NODE_OPTIONS, overrides it.
maxInflatedBytes?
optionalmaxInflatedBytes:number
Defined in: packages/agentos/src/cognition/memory/io/ingestion/loadIsolated.ts:74
The Word or office loader's bound on what the archive's entries inflate to (DocxLoaderOptions.maxInflatedBytes,
OfficeLoaderOptions.maxInflatedBytes); that loader's default when left out.
maxTableCells?
optionalmaxTableCells:number
Defined in: packages/agentos/src/cognition/memory/io/ingestion/loadIsolated.ts:84
The office loader's bound on table cells (OfficeLoaderOptions.maxTableCells): the office kinds and 'scan' alone.
maxXmlElements?
optionalmaxXmlElements:number
Defined in: packages/agentos/src/cognition/memory/io/ingestion/loadIsolated.ts:82
The office loader's bound on XML elements (OfficeLoaderOptions.maxXmlElements): the office kinds and 'scan' alone.
ocrPages?
optionalocrPages:number
Defined in: packages/agentos/src/cognition/memory/io/ingestion/loadIsolated.ts:86
The pages of a scan read by OCR, from the first: a whole number of 1 or more, which 'scan' needs and no other kind takes.
pdfProcessMemoryMb?
optionalpdfProcessMemoryMb:number
Defined in: packages/agentos/src/cognition/memory/io/ingestion/loadIsolated.ts:88
The heap, in MB, of the process pdf.js reads a scan in (OfficeLoaderOptions.pdfProcessMemoryMb): 'scan' alone.
signal?
optionalsignal:AbortSignal
Defined in: packages/agentos/src/cognition/memory/io/ingestion/loadIsolated.ts:90
Cancels the read: the worker is ended, and the call rejects with the signal's reason.
timeoutMs?
optionaltimeoutMs:number
Defined in: packages/agentos/src/cognition/memory/io/ingestion/loadIsolated.ts:69
How long the read may take from the worker's start, in milliseconds, at most 2,147,483,647. Default 30,000.