snapcraft overcommits CPUs in a multipass environment
Metadata
Current evaluation
Closed without resolution. The report identified snapcraft overcommitting CPUs and RAM in multipass environments, suggesting a 1GB per CPU thread minimum. No fix was implemented.
Suggested action: —
No scores available.
Issue body
On my relatively low-spec machine (mobile 2-core HT CPU, 8GB RAM) snapcraft allocates machines with 4 CPU threads and 2GB RAM and continues to use all the memory available when building the project.
I think there should be a minimum RAM : CPU ratio that snapcraft should implement (more like 1GB minimum per CPU thread).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The report identified snapcraft overcommitting CPUs and RAM in multipass environments, suggesting a 1GB per CPU thread minimum. No fix was implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The report of snapcraft overallocating CPUs and memory in multipass environments was abandoned due to inactivity. No fix was implemented. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5853 Snapcraft 8.13 devel - RAM gets saturated | snapcraft | closed | Reported RAM saturation crashing builds. Maintainer could not reproduce it. Reporter later confirmed they could not reproduce the issue after updating Snapcraft. Closed as unreproducible with no code changes. | |
| #1904774 Snapcraft runs multipass setup but fails | snapcraft (launchpad) | closed | Abandoned. Snapcraft failed during multipass VM cleanup after reporting a missing instance. Closed without comments or fixes. | |
| #212 Incorrectly handling SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT | craft-providers | open | Issue with SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT handling and incorrect CPU counts in Multipass. Maintainer is addressing via craft-application integration. |