Description
When I add ssh2 to my electron project, build and run, but it failed with errors below:
<--- Last few GCs --->
[35512:0x140008000] 6795 ms: Scavenge 41.1 (54.0) -> 40.0 (56.5) MB, 17.2 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure;
[35512:0x140008000] 6889 ms: Scavenge 45.8 (56.5) -> 41.9 (58.7) MB, 7.1 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure;<--- JS stacktrace --->
[35512:0907/210137.736266:ERROR:v8_initializer.cc(689)] V8 process OOM: (WasmCodeManager::Commit: Cannot make pre-reserved region writable).
[35509:0907/210137.806207:ERROR:CONSOLE(160)] "Electron sandbox_bundle.js script failed to run", source: node:electron/js2c/sandbox_bundle (160)
[35509:0907/210137.806230:ERROR:CONSOLE(160)] "TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))", source: node:electron/js2c/sandbox_bundle (160)
[35509:0907/210137.806596:ERROR:CONSOLE(160)] "Electron sandbox_bundle.js script failed to run", source: node:electron/js2c/sandbox_bundle (160)
[35509:0907/210137.806644:ERROR:CONSOLE(160)] "TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))", source: node:electron/js2c/sandbox_bundle (160)
Any sugesstion to fixed this issue ?
Thanks anyway
OS: Macos 12.4
Electron: v19