mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Document DISABLE_JEMALLOC environmental variable, (#13655)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
a6e8b30163
commit
9b9f681589
@ -288,3 +288,11 @@ or in a `docker-compose.yml` file:
|
||||
On Mac, USB devices are [not passed through](https://github.com/docker/for-mac/issues/900) by default. Follow the instructions in [Using USB with Docker for Mac](https://dev.to/rubberduck/using-usb-with-docker-for-mac-3fdd) by Christopher McClellan if your device is not showing up.
|
||||
|
||||
</div>
|
||||
|
||||
## Optimizations
|
||||
|
||||
The Home Assistant Container is using an alternative memory allocation library [jemalloc](http://jemalloc.net/) for better memory management and Python runtime speedup.
|
||||
|
||||
As Jemalloc can cause issues on certain hardware, it can be disabled by passing the environment variable `DISABLE_JEMALLOC` with any value, for example: `-e "JEMALLOC_DISABLE=true"`.
|
||||
|
||||
The error message `<jemalloc>: Unsupported system page size` is one known indicator.
|
||||
|
Loading…
x
Reference in New Issue
Block a user