Closed
Description
<--- JS stacktrace —->
==== JS stack trace =========================================
Security context: 0x3b902a9266a1 <JS Object>
1: fromString(aka fromString) [buffer.js:~194] [pc=0x1b9dcb6f3ad0](this=0x2f5cceb02311 <undefined>,string=0x866865dc389 <Very long
string[14371]>,encoding=0x3b902a92f309 <String[4]: utf8>)
2: from [buffer.js:~96] [pc=0x1b9dcb6c9936](this=0x2bea42122009 <JS Function Buffer (SharedFunctionInfo 0x3b902a94b481)>,value=0x86
6865dc389 <Very long string[14371]>,encodingOrOffset=0x3b902a92f309 <...
FATAL ERROR: CALL_AND_RETRY_LAST All
Error when writing huge of content to a file json, Can anyone help me solve this propblem? I tried
node --max-old-space-size=8192 index.js
But it still help me about out of memory in heap problem