Skip to content

Commit

Permalink
try to avoid OOM of node
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Jun 11, 2021
1 parent 058873f commit 8fb070d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/cardano-graphql.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ in stdenv.mkDerivation {
mkdir -p $out/bin
cat <<EOF > $out/bin/cardano-graphql
#!${runtimeShell}
exec ${nodejs}/bin/node $out/packages/server/dist/index.js
exec ${nodejs}/bin/node --max_old_space_size=4096 $out/packages/server/dist/index.js
EOF
chmod +x $out/bin/cardano-graphql
'';
Expand Down

0 comments on commit 8fb070d

Please sign in to comment.