fluidattacks / makes

A software supply chain framework powered by Nix.
https://makes.fluidattacks.tech/
MIT License
453 stars 43 forks source link

Start the containers with swap enabled #1370

Closed jpverde closed 3 months ago

jpverde commented 3 months ago

Currently the makes containers are started without swap enabled, causing performance issues and OOM errors because the memory in cache cannot be cleared.

image

Enabling swap allows the container to use the memory in swap instead of filling up the memory with cache.

An alternative could be to manually clear the memory in cache, but that could lead to other kind of bugs.