mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
perf: try to reduce memory usage by adding env LD_PRELOAD.
This commit is contained in:
parent
af5d0dcb9f
commit
85d6a2696d
|
|
@ -42,6 +42,7 @@ ENV PATH=/opt/py3/bin:$PATH \
|
|||
REDIS_PASSWORD=Password123@redis \
|
||||
LANG=en_US.UTF-8 \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 \
|
||||
MAXKB_CONFIG_TYPE=ENV \
|
||||
MAXKB_LOG_LEVEL=INFO \
|
||||
MAXKB_SANDBOX=1 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue