Closed tschaffter closed 1 year ago
Done mainly in #1302.
The total amount of memory used by the stack should ideally be smaller than 8 GB if we want to developed on GitHub codespace.
The total amount of memory required is 9.5 GB when using relatively large error margins to ensure that the container do not crash frequently because of the lack of memory. The max memory could be optimized in the future.
What projects is this story for?
OpenChallenges
As a user, I want
As a developer, I want to control the max amount of memory that containerized services can use so that I can deploy all the required component of the OpenChallenges stack without slowing down or crashing my development instance.
Description
Look at the memory usage of dockerized services with
docker stats
and update the docker compose file of each project of the stack so that the maximum about of memory is specified. Each container should ideally have a bit of extra room.Acceptance criteria
docker stats
after starting all the components shows that each container has a max amount of memory specified.Tasks
No response
Anything else?
No response
Have you linked this story to a GitHub Project?