multipass icon indicating copy to clipboard operation
multipass copied to clipboard

Unify VM resource minima in Daemon/CLI/GUI

Open ricab opened this issue 1 year ago • 6 comments

What are you trying to do? We currently have a minimum of 512M for memory in the GUI, but 128M in CLI. Similar situation with disk: current minima are 512M in the CLI but 1G in the GUI.

What's your proposed solution? We should probably settle on a single value everywhere. Since the images themselves don't have documented minimum requirements, we should probably go with the safest boundary and so align CLI/Daemon with the GUI.

Additional context This should prevent problems like https://github.com/canonical/multipass/issues/3612.

ricab avatar Nov 15 '24 18:11 ricab

but 128M in CLI

Just in case - 128Mb didn't actually work for me.

alexander-potemkin avatar Nov 17 '24 11:11 alexander-potemkin

Hi @ricab! I'm working on this right know. I think 500Mb is enough for the minima.

vicdeveloperr avatar May 13 '25 15:05 vicdeveloperr

Hi, @ricab.

Its my first time contributing to this project, and I have some questions.

How can I build the project manually on Manjaro or Arch linux? Specifically I don't know how to build the dependencies

vicdeveloperr avatar May 15 '25 11:05 vicdeveloperr

Hi, I never tried those platforms TBH. You would need to find the corresponding packages for our dependencies, but perhaps it would be easier to just build in an Ubuntu VM. You could use Multipass for that 🙂

ricab avatar May 15 '25 12:05 ricab

That's a good idea. Thanks

vicdeveloperr avatar May 16 '25 12:05 vicdeveloperr

I fix it. I established 512M for the RAM and 10G for disk. This value is which @alexander-potemkin recommended here. But, I don't able to make a PR. Image

vicdeveloperr avatar May 21 '25 17:05 vicdeveloperr

Here is the code of the solution: https://github.com/vicdeveloperr/multipass-vm-minima-resource-issue/tree/main

vicdeveloperr avatar Jun 23 '25 17:06 vicdeveloperr

Hi @vicdeveloperr, if you would like to contribute your changes please create a PR.

sharder996 avatar Jun 26 '25 14:06 sharder996

Hi @vicdeveloperr, if you would like to contribute your changes please create a PR.

Thanks for remember me. I already do it now.

vicdeveloperr avatar Jun 26 '25 16:06 vicdeveloperr