瀏覽代碼

Update jemalloc package install instructions (#1061)

as `libjemalloc1` is not available in recent distributions anymore, see:
https://packages.debian.org/search?keywords=jemalloc
Gábor Szakács 2 年之前
父節點
當前提交
b0b1158a93
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/memory_usage_tweaks.md

+ 2 - 2
docs/memory_usage_tweaks.md

@@ -36,6 +36,6 @@ If setting `MALLOC_ARENA_MAX` doesn't show you satisfying results, it's time to
 Most Linux distributives provide their jemalloc packages. Using jemalloc doesn't require rebuilding imgproxy or it's dependencies and can be enabled by the `LD_PRELOAD` environment variable. See the example with Debian below. Note that jemalloc library path may vary on your system.
 Most Linux distributives provide their jemalloc packages. Using jemalloc doesn't require rebuilding imgproxy or it's dependencies and can be enabled by the `LD_PRELOAD` environment variable. See the example with Debian below. Note that jemalloc library path may vary on your system.
 
 
 ```
 ```
-sudo apt-get install libjemalloc1
-LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libjemalloc.so.1' imgproxy
+sudo apt-get install libjemalloc2
+LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libjemalloc.so.2' imgproxy
 ```
 ```