AVENTER-UG / docker-matrix

docker image for matrix.org

Home Page:https://riot.im/app/#/room/#dockermatrix:matrix.aventer.biz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LD_PRELOAD env variable

skylord123 opened this issue · comments

Is it possible to use the LD_PRELOAD env variable to help with RAM usage? Well, I know it possible. I mean for this container.

Here is the description from the readme:
https://github.com/matrix-org/synapse/blob/master/README.rst#id46

Looks like it requires the libjemalloc1 library and a pointer to it. I'm not sure it is included in this docker container or where it would be located.

Btw: thanks for the great container.

It is possible for the container as well. I have been experimenting with it in a few branches on my fork. this one should work fine (though I don't currently use it).

What can also help is running under python 3. Synapse mostly supports python 3 now (since 0.33.5) and I made a version of this container based on python 3 here, but the container is quite large, as it is on a python:3.6-stretch base. I do run this container on my personal server.