Skip to content

Commit 85d6a26

Browse files
perf: try to reduce memory usage by adding env LD_PRELOAD.
1 parent af5d0dc commit 85d6a26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

installer/Dockerfile-base

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ ENV PATH=/opt/py3/bin:$PATH \
4242
REDIS_PASSWORD=Password123@redis \
4343
LANG=en_US.UTF-8 \
4444
PYTHONUNBUFFERED=1 \
45+
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 \
4546
MAXKB_CONFIG_TYPE=ENV \
4647
MAXKB_LOG_LEVEL=INFO \
4748
MAXKB_SANDBOX=1 \

0 commit comments

Comments
 (0)