File tree Expand file tree Collapse file tree 2 files changed +7
-17
lines changed Expand file tree Collapse file tree 2 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,13 @@ scope: {
5555 enableLargeConfig = true ;
5656 } ) . overrideAttrs
5757 ( attrs : {
58- patches = attrs . patches or [ ] ++ [ ./patches/bdwgc-bigger-mark-stack.patch ] ;
58+ # Increase the initial mark stack size to avoid stack
59+ # overflows, since these inhibit parallel marking (see
60+ # GC_mark_some()). To check whether the mark stack is too
61+ # small, run Nix with GC_PRINT_STATS=1 and look for messages
62+ # such as `Mark stack overflow`, `No room to copy back mark
63+ # stack`, and `Grew mark stack to ... frames`.
64+ NIX_CFLAGS_COMPILE = "-DINITIAL_MARK_STACK_SIZE=1048576" ;
5965 } ) ;
6066
6167 # TODO Hack until https://github.com/NixOS/nixpkgs/issues/45462 is fixed.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments