Idea detail
native_engine_load_budget
reqlan rq/distribution/native_host_binary.rq:90
block
done
Summary
The loader returns a cached engine without a memory refusal.
A Windows extension host often uses more than 512 MB of heap after `onStartupFinished`.
That heap size is not an out-of-memory condition.
The loader refuses a first dlopen only when `heapUsed` is above 90 percent of the V8 heap size limit.
It does not use a fixed 512 MB heap limit.
It does not use a fixed 1 GB RSS limit.
Related: native_host_binary
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | load-native.ts |
| status | done |
| tests | load-native.test.ts:allows a normal extension-host heap |
Ancestor context
No ancestor chain recorded.
Outbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | native_host_binary | reqlan rq/distribution/native_host_binary.rq | native_host_binary |
| file_reference | "../../packages/analytical/src/native/load-native.ts" | packages/analytical/src/native/load-native.ts | load-native.ts |
| file_reference | "../../packages/analytical/test/load-native.test.ts:allows a normal extension-host heap" | packages/analytical/test/load-native.test.ts | load-native.test.ts:allows a normal extension-host heap |
| comment_link | native_engine_load_budget | reqlan rq/distribution/packages/analytical/src/native/load-native.ts | * rq:native_engine_load_budget |
| comment_link | native_engine_load_budget | reqlan rq/distribution/packages/analytical/test/load-native.test.ts | // rq:native_engine_load_budget |
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | native_host_binary | reqlan rq/distribution/native_host_binary.rq | native_engine_load_budget |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…