Very large pdf error



  • Hi, I am getting the following error when generating a very long report. Is there any solution?
    From already thank you very much. Greetings from Argentina.
    Error:
    <--- Last few GCs --->

    [18480:0x3f287e0] 3579 ms: Mark-sweep 1102.6 (1174.0) -> 1102.6 (1142.0) MB, 7.0 / 0.0 ms (average mu = 0.939, current mu = 0.003) last resort GC in old space requested
    [18480:0x3f287e0] 3588 ms: Mark-sweep 1102.6 (1142.0) -> 1102.6 (1142.0) MB, 8.9 / 0.0 ms (average mu = 0.862, current mu = 0.006) last resort GC in old space requested

    <--- JS stacktrace --->

    ==== JS stack trace =========================================

    Security context: 0x27a241df9b91 <JSObject>
    0: builtin exit frame: parse(this=0x27a727b7e141 <Object map = 0x3529036842a9>,0x1845cbd12351 <Very long string[307410775]>,0x27a727b7e141 <Object map = 0x3529036842a9>)

    1: onread [0x664facb4c51] [internal/child_process.js:518] [bytecode=0x15e4f5835e99 offset=167](this=0x1f2fa4484d01 <Pipe map = 0x3529036d0331>,nread=18456,pool=0x1845cbd122a9 <Uint8Array map = 0x10b3e5f822b1>)
    2: In...
    

    FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
    1: 0x8fb090 node::Abort() [/usr/bin/node]
    2: 0x8fb0dc [/usr/bin/node]
    3: 0xb0322e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
    4: 0xb03464 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
    5: 0xef74c2 [/usr/bin/node]
    6: 0xf06cdf v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/bin/node]
    7: 0xecef25 [/usr/bin/node]
    8: 0xed679a v8::internal::Factory::NewRawOneByteString(int, v8::internal::PretenureFlag) [/usr/bin/node]
    9: 0xfc28d4 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    10: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    11: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    12: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    13: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    14: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    15: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    16: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    17: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    18: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    19: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    20: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    21: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    22: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    23: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    24: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    25: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    26: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    27: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    28: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    29: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    30: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    31: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    32: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    33: 0xfc2bc0 v8::internal::Handlev8::internal::String v8::internal::JsonParser<true>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handlev8::internal::String, int, int) [/usr/bin/node]
    34: 0xfc2e68 v8::internal::JsonParser<true>::ScanJsonString() [/usr/bin/node]
    35: 0xfc7fb8 v8::internal::JsonParser<true>::ParseJsonValue() [/usr/bin/node]
    36: 0xfc8064 v8::internal::JsonParser<true>::ParseJson() [/usr/bin/node]
    37: 0xbd7b38 v8::internal::Builtin_JsonParse(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/bin/node]
    38: 0x5b92865bf7d
    2020-09-25T13:57:51.144Z - warn: Rendering request 1 finished with error in 160033 ms
    2020-09-25T13:57:51.145Z - warn: Error when processing render request 1 Timeout during execution of pdf-utils operations Error: Timeout during execution of pdf-utils operations
    at Timeout._onTimeout (/home/gabrieldehner/locales/DE/Node Report/pruebaSUb/jsreport-boletin/VersionNuevoDisenio/node_modules/script-manager/lib/manager-processes.js:29:10)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at unrefdHandle (timers.js:520:7)
    at Timer.processTimers (timers.js:222:12)
    2020-09-25T13:57:51.150Z - warn: Error during processing request at http://localhost/api/report

    0_1601042427013_upload-fd6bc325-a1aa-453d-8fae-0cb9c4f4746e



  • Please check the out of memory chapter here
    https://jsreport.net/blog/long-reports#out-of-memory


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.