← Back to issue list

Setting SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY doesn't take effect

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1814729
Type
issue
State
open
Author
~popey
Labels
18.10-build-vm
Created
2019-02-05 12:04:44.874757+00:00
Updated
2019-03-28 22:10:09.045558+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I have a snap which is very large and failed to build due to running out of memory in multipass. I set SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY=8G and re-ran snapcraft. It re-used the previous VM rather than noting the change in RAM, to take the opportunity to launch a new one. Perhaps snapcraft could detect the change in resources and act accordingly, cleaning or at least suggesting a clean is worthwhile if the environment around multipass changes?

Evaluation history

No evaluation history available.