Shared memory (/dev/shm)
Shared memory (
/dev/shm) allows Linux programs to efficiently pass data between each other. When one program creates a memory portion, another one can access it to speed up its processes.
Until recently, the value of
shm_size in build containers and microservices was set to 64MB by default. This could cause some issues such as browser crashing, especially with e2e tests running headless Chrome or Selenium microservices.
Shared memory values
From version 2.1.18 upwards, the
shm_size value for build containers and microservices in the cloud plans is based on the amount of RAM in the chosen plan.
shm_size = RAM / 8
In Buddy Enterprise the default value remains 64MB. If required, you can change it in the Buddy CLI:
- Log in to the machine where Buddy Enterprise is installed.
- Enter configuration settings by entering
text buddy configure
- Go to
Set build memory limit.
uto update the value &
enterto save changes.
- Restart the application to apply changes.