-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
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
Labels
No labels