Memory snapshotter in AutoscaledPool could handle ENOMEM from spawn gracefully - basically it's also an information that memory is overloaded. Now we just print this error, which is confusing for users:
2019-02-14T10:03:17.148Z ERROR: Snapshotter: Memory snapshot failed.
2019-02-14T10:03:17.149Z Error: spawn ENOMEM
2019-02-14T10:03:17.151Z at ChildProcess.spawn (internal/child_process.js:313:11)
2019-02-14T10:03:17.152Z at exports.spawn (child_process.js:508:9)
2019-02-14T10:03:17.154Z at childrenOfPid (/home/myuser/node_modules/@apify/ps-tree/index.js:53:21)
2019-02-14T10:03:17.155Z at childrenOfPid (internal/util.js:235:26)
2019-02-14T10:03:17.162Z at getMemoryInfo (/home/myuser/node_modules/apify/build/utils.js:268:3)
2019-02-14T10:03:17.240Z at Snapshotter._snapshotMemory (/home/myuser/node_modules/apify/build/autoscaling/snapshotter.js:241:55)
2019-02-14T10:03:17.251Z at Timeout.funcWrapper [as _onTimeout] (/home/myuser/node_modules/apify-shared/utilities.js:147:9)
2019-02-14T10:03:17.253Z at ontimeout (timers.js:498:11)
2019-02-14T10:03:17.254Z at tryOnTimeout (timers.js:323:5)
2019-02-14T10:03:17.256Z at Timer.listOnTimeout (timers.js:290:5)
The text was updated successfully, but these errors were encountered:
Memory snapshotter in
AutoscaledPool
could handle ENOMEM from spawn gracefully - basically it's also an information that memory is overloaded. Now we just print this error, which is confusing for users:The text was updated successfully, but these errors were encountered: