forked from lix-project/hydra
Gradually increase maxHeapSize
This commit is contained in:
parent
e122d3bef3
commit
4dca8fe14d
|
@ -1,5 +1,5 @@
|
||||||
{ hydraSrc ? builtins.fetchGit ./.
|
{ hydraSrc ? builtins.fetchGit ./.
|
||||||
, nixpkgs ? builtins.fetchGit { url = https://github.com/NixOS/nixpkgs-channels.git; ref = "nixos-18.03"; }
|
, nixpkgs ? builtins.fetchGit { url = https://github.com/NixOS/nixpkgs-channels.git; ref = "nixos-18.03-small"; }
|
||||||
, officialRelease ? false
|
, officialRelease ? false
|
||||||
, shell ? false
|
, shell ? false
|
||||||
}:
|
}:
|
||||||
|
|
|
@ -312,6 +312,8 @@ int main(int argc, char * * argv)
|
||||||
if (status != 0)
|
if (status != 0)
|
||||||
throw Exit(WIFEXITED(status) ? WEXITSTATUS(status) : 99);
|
throw Exit(WIFEXITED(status) ? WEXITSTATUS(status) : 99);
|
||||||
|
|
||||||
|
maxHeapSize = maxHeapSize * 1.1;
|
||||||
|
|
||||||
lastAttrPath = drainFD(pipe.readSide.get());
|
lastAttrPath = drainFD(pipe.readSide.get());
|
||||||
} while (lastAttrPath != "");
|
} while (lastAttrPath != "");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue