From c13bc47d7515bc0be93fb70d3a6a82e3a342f5b6 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Tue, 6 May 2025 00:36:52 +0200 Subject: [PATCH] Add a commented line to systemd service launch script to use jemalloc --- doc/recipes.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/recipes.service b/doc/recipes.service index 8480fbd..2c6c91e 100644 --- a/doc/recipes.service +++ b/doc/recipes.service @@ -5,6 +5,8 @@ After=network.target [Service] Type=simple User=pi +# Uncomment to use libjemalloc on Raspberry Pi. package 'libjemalloc' needs to be installed. +# Environment="LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so.2" WorkingDirectory=/home/pi/recipes ExecStart=/home/pi/recipes/recipes Restart=always