Skip to main content

Adjust Worker Memory

Sometimes, the Workers may experience latency or OOM (Out of Memory) due to a large number of databases or certain situations, and it may be necessary to increase the memory to ensure stable operation. This article describes how to adjust the memory of a Worker.

Procedure

  1. Log on to the Worker container of BladePipe.
  2. Find the startup script.

    /home/bladepipe/bladepipe/worker/bin/startSidecar.sh

  3. Edit the script. Find the JVM_HEAP_SIZE_MB variable, and modify the memory size. It is recommended to change it to 1-2 GB.
  4. Restart the Worker.

    sh startSidecar.sh