Printable idea sheet
native_engine_load_budget
reqlan rq/distribution/native_host_binary.rq:90
Katz 0.052
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
- implementation
- load-native.ts
- status
- done
- tests
- load-native.test.ts:allows a normal extension-host heap
Interactive page: native_engine_load_budget