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
- Log on to the Worker container of BladePipe.
- Find the startup script.
/home/bladepipe/bladepipe/worker/bin/startSidecar.sh
- 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. - Restart the Worker.
sh startSidecar.sh