Browse Source

Reduce mem

master
Jordi Baylina 3 years ago
parent
commit
fc01aad8b6
No known key found for this signature in database GPG Key ID: 7480C80C1BE43112
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/compiler.js

+ 2
- 1
src/compiler.js

@ -359,7 +359,7 @@ async function reduceConstrains(ctx) {
if (!c) continue;
// Limit of number of lelements removed per step
if (nRemoved>100000) {
if (nRemoved>500000) {
nextPossibleConstraints[possibleConstraints[i]] = true;
continue;
}
@ -452,6 +452,7 @@ async function reduceConstrains(ctx) {
lSignal = ctx.signals[lSignal.e];
}
sig2constraint[s] = null;
lSignal.c = ctx.stDISCARDED;
}

Loading…
Cancel
Save