diff options
-rw-r--r-- | changelog.d/xxxx.misc | 1 | ||||
-rwxr-xr-x | docker/start.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/xxxx.misc b/changelog.d/xxxx.misc new file mode 100644 index 0000000000..5f9dcc94bd --- /dev/null +++ b/changelog.d/xxxx.misc @@ -0,0 +1 @@ +Ensure python uses `malloc` when running Synapse in Docker. \ No newline at end of file diff --git a/docker/start.py b/docker/start.py index 16d6a8208a..55faca600d 100755 --- a/docker/start.py +++ b/docker/start.py @@ -218,6 +218,7 @@ def main(args, environ): if os.path.isfile(jemallocpath): environ["LD_PRELOAD"] = jemallocpath + environ["PYTHONMALLOC"] = "malloc" else: log("Could not find %s, will not use" % (jemallocpath,)) |