Skip to content

Parsing multiple igc file in a cause mac terminal to crash #5

@Djang0

Description

@Djang0

Hello,

I try to analyse multiple igc file in a loop, causing mac os terminal to become grey and the node process crashes.

this code is being looped for around 200 flights:

console.log('before');
      var score_flight = IGCParser.parse(row.V_IGC, {
        lenient: true
      });

console.log('parsed');

var result_ffvl = solver(score_flight, scoring.FFVL).next().value;

console.log('r1');

var result_xcontest = solver(score_flight, scoring.XContest).next().value;

console.log('r2');

It iterates over 3 flights and crashes at the fourth. console log :

before

parsed

r1

r2

before

parsed

r1

r2

before

parsed

r1

r2

before

parsed

r1

Is there something I'm not doing right?

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