Skip to content

Commit 7803f2e

Browse files
committed
set GLIBC_TUNABLES to increase mem reservation
1 parent a957005 commit 7803f2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkgs/modules/replit-rtld-loader/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
replit.env = {
1010
LD_AUDIT = "${pkgs.replit-rtld-loader}/rtld_loader.so";
11+
GLIBC_TUNABLES = "glibc.rtld.optional_static_tls=2500";
1112
};
1213
}
1314

0 commit comments

Comments
 (0)