Skip to content

Runs out of memory #10

@sveip

Description

@sveip

After a while trying to reconnect it runs out of memory.

I suspect the problem is that the callbacks get stacked?

err { [Error: connect EADDRNOTAVAIL 127.0.0.1:8086 - Local (127.0.0.1:0)]
  code: 'EADDRNOTAVAIL',
  errno: 'EADDRNOTAVAIL',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 8086,
  response: undefined }
err { [Error: connect EADDRNOTAVAIL 127.0.0.1:8086 - Local (127.0.0.1:0)]
  code: 'EADDRNOTAVAIL',
  errno: 'EADDRNOTAVAIL',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 8086,
  response: undefined }
err { [Error: connect EADDRNOTAVAIL 127.0.0.1:8086 - Local (127.0.0.1:0)]
<--- Last few GCs --->

494370919 ms: Scavenge 1399.2 (1458.1) -> 1399.2 (1458.1) MB, 3.2 / 0 ms (+ 1.6 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].
494371796 ms: Mark-sweep 1399.2 (1458.1) -> 1399.1 (1458.1) MB, 877.8 / 0 ms (+ 2.2 ms in 2 steps since start of marking, biggest step 1.6 ms) [last resort gc].
494372673 ms: Mark-sweep 1399.1 (1458.1) -> 1399.0 (1458.1) MB, 876.3 / 0 ms [last resort gc].


<--- JS stacktrace --->

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

Security context: 0x96c1be3ac1 <JS Object>
    1: /* anonymous */(aka /* anonymous */) [/src/db.js:7] [pc=0x14e2ecd1333f] (this=0x96c1b04189 <undefined>,stat=0x2889b344eae1 <JS Object>)
    2: arguments adaptor frame: 3->1
    3: InnerArrayMap(aka InnerArrayMap) [native array.js:~1019] [pc=0x14e2d3f3de66] (this=0x96c1b04189 <undefined>,bl=0x2889b344c9e9 <JS Function (SharedFunctionInfo 0x2b7becf08af1)>,bm=0x96c1...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions