Open adrianopol opened 3 years ago
Hi, probably you should increase "heap size", the default value is 4096 file is in definitions/ecosystem_settings.js value "--max-old-space-size"
Thanks, I will wait for a couple of days to see, how it feels.
Yes, looks like it helped.
I increased max-old-space-size
up to 32 MiB, hyperion was OK for some time, but the last weekends I got another memory-exhaustion problem. After restart, indexer worked from 30 minutes to 2 hours, breaking with the following error:
2021-02-08T21:00:11: [00_master] --------- Hyperion Indexer 3.1.2 ---------
2021-02-08T21:00:11: [00_master] Using parser version 1.8
2021-02-08T21:00:11: [00_master] Chain: daobet
...
2021-02-08T15:14:29: [03_continuous_reader] Removing indexed data from 72002918 to 72002918
2021-02-08T15:14:29: [03_continuous_reader] Live reading resumed!
2021-02-08T15:16:44:
2021-02-08T15:16:44: <--- Last few GCs --->
2021-02-08T15:16:44:
2021-02-08T15:16:44: [28889:0x4567e70] 4691330 ms: Mark-sweep 32766.9 (32805.6) -> 32766.6 (32805.9) MB, 24972.4 / 0.0 ms (average mu = 0.097, current mu = 0.000) allocation failure scavenge might not succeed
2021-02-08T15:16:44: [28889:0x4567e70] 4718705 ms: Mark-sweep 32767.2 (32805.9) -> 32767.0 (32806.1) MB, 27123.5 / 0.0 ms (+ 192.8 ms in 10 steps since start of marking, biggest step 165.7 ms, walltime since start of marking 27374 ms) (average mu = 0.050, current mu = 0.002
2021-02-08T15:16:44:
2021-02-08T15:16:44: <--- JS stacktrace --->
2021-02-08T15:16:44:
2021-02-08T15:16:44: ==== JS stack trace =========================================
2021-02-08T15:16:44:
2021-02-08T15:16:44: 0: ExitFrame [pc: 0x13da519]
2021-02-08T15:16:44: 1: StubFrame [pc: 0x13db355]
2021-02-08T15:16:44: Security context: 0x2c790c600921 <JSObject>
2021-02-08T15:16:44: 2: onLiveBlock [0x597ec274989] [/root/hyperion-history-api/modules/master.js:~731] [pc=0x1594c0e44b66](this=0x15dc03dcae21 <HyperionMaster map = 0xbacf3454f81>,0x38b2845b1989 <Object map = 0xbacf3454531>)
2021-02-08T15:16:44: 3: process [0x15dc03dcbc11] [/root/hyperion-history-api/node_modules/async/dist/async.js:~1398] [pc=0x1594c0e10cdd](thi...
2021-02-08T15:16:44:
2021-02-08T15:17:11: [03_continuous_reader] Expected: 72003230, received: 72003229
There were frequent blockchain forks that time, maybe they triggered this problem.
Branch: master; commit: 28c163a5000e8ae22a57a17053efffd2593fb19f.
Thanks, we are investigating those issues
Hello, I regularly (every 1--2 days) get the following error
OS: Ubuntu 18.04 amd64. Server: 64 GiB RAM, 8 cores. Installation type: no Docker.
Chain config: