Skip to content

Commit a79ce24

Browse files
authored
Using mimalloc instead jemalloc (#69)
* Using mimalloc instead jemalloc * Update Dockerfile * Update run
1 parent c08013e commit a79ce24

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,4 @@ RUN \
103103
/usr/src/pulseaudio \
104104
/usr/src/patches
105105

106-
ENV LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
107106
COPY rootfs /

rootfs/etc/services.d/pulseaudio/run

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# ==============================================================================
33
# Start PulseAudio service
44
# ==============================================================================
5-
export PULSE_STATE_PATH=/data/states
5+
export PULSE_STATE_PATH="/data/states"
6+
export LD_PRELOAD="/usr/local/lib/libmimalloc.so"
67

7-
exec pulseaudio --system -vvv --disallow-exit --exit-idle-time=-1 --disable-shm
8+
exec pulseaudio --system -vvv --disallow-exit --exit-idle-time=-1 --disable-shm

0 commit comments

Comments
 (0)