Merge pull request #140 from overleaf/spd-jemalloc-debian

Load Debian's version of jemalloc
This commit is contained in:
Simon Detheridge 2021-07-19 12:23:29 +01:00 committed by GitHub
commit 09945c631d

View file

@ -25,9 +25,11 @@ RUN make package \
FROM openjdk:11-jre
RUN apt-get update && apt-get install -y git sqlite3 procps htop net-tools sockstat \
RUN apt-get update && apt-get install -y git sqlite3 procps htop net-tools sockstat libjemalloc2 \
&& rm -rf /var/lib/apt/lists
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
# Install Google Cloud Profiler agent
RUN mkdir -p /opt/cprof && \
wget -q -O- https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz \