소스 검색

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.
 
 ```
-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
 ```