Skip to content

Commit

Permalink
Add comment about jemalloc
Browse files Browse the repository at this point in the history
  • Loading branch information
mvgorcum committed Jun 14, 2019
1 parent 28acd9e commit 9c7a299
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ argument or look at the container via cat.
runs the synapse server, if the --user flag is not supplied. The files mounted under /data are `chown`ed to this
ownership. Default is `MATRIX_UID=991` and `MATRIX_GID=991`. It can overriden
via `-e MATRIX_UID=...` and `-e MATRIX_GID=...` at start time.
* `LD_PRELOAD` This is set by default to use jemalloc as memory allocator, as
that has been shown to greatly reduce the memory useage of synapse. To use the default malloc
the environmental variable has to be emptied, by adding `-e LD_PRELOAD` when running the container.

## build specific arguments

Expand Down

0 comments on commit 9c7a299

Please sign in to comment.