Memory
To work properly, Buddy self-hosted requires at least 4GB of RAM.
The self-hosted application consists of the following services:
- Application Server (Java)
- Build Server (Java)
- Git Server (Java)
- SQL Database
- NoSQL Database
- Front Server
- Proxy Server
- Session Store
- Utility Server
To avoid memory problems, Buddy limits the amount of memory assigned to its Java services during boot.
The default amount of RAM allocated to the Java services constitutes 50% of the total server memory:
- App Server: 5/32 of total RAM
- Build Server: 2/32 of total RAM
- Git Server: 9/32 of total RAM
Hint
The build server limit applies only to the application that launches builds on the server. The limit doesn't concern the containers in which the builds run. By default, there are no memory restrictions on build containers. You can set such limit manually through Buddy CLI using the
buddy configure
command.
Manual configuration
You can change the default memory allocations for services through the Buddy CLI.
Use the buddy configure
command and the Application memory management option to change memory allocations or reset them to the default values.
Warning
You can configure RAM allocations on the main Buddy self-hosted instance only. For workers, the allocation is fixed: 1/16 of the server RAM is allocated to the Build Server and the remaining memory is available for containers in which the builds run.
Image loading...CLI configuration
Last update:
Sep 24, 2024
Sep 24, 2024