Adjust Memory Allocation

Adjust the memory allocation afforded to Hyperglance.

If you are experiencing Out Of Memory errors or slowdowns then increasing the memory allocation should help.

 

First find out the default memory allocation by looking for MAX_HEAPSIZE in default.env:

cat /usr/local/hyperglance/defaults.env

 

Unless you know how much you need then a reasonable approach is to double your default memory allocation. You can configure a custom allocation by editing config.env:

Edit file:

/var/lib/data/hyperglance/config.env

Set memory allocation (e.g. 4096m is 4GB):

MAX_HEAPSIZE=4096m

Re-start the services:

sudo docker-compose -f /etc/docker-compose.yml up -d