Open
Description
Problem
I tried installing a rust toolchain in a VM I assigned 1GB of ram. (100MB used by the minimal debian install) When installing rustc-dev it got an OOM however.
Steps
- Create a VM
- Assign 1GB of ram
- Install a minimal debian system in the VM. When running it only uses 100MB of ram.
- Attempt to install a rust toolchain with the rustc-dev component in the VM.
- OOM
Possible Solution(s)
I thought rustup 1.24 enabled installation on systems with little ram. Is this a regression? Would it be possible to stream the component rather than attempt to load it all at once in memory?
Notes
For now I will be increasing the assigned amount of memory, but IMO it should be possible to install on systems with this little ram, hence this issue.
Rustup version
rustup 1.25.1 (bb60b1e89 2022-07-12)
Installed toolchains
Default host: x86_64-unknown-linux-gnu
rustup home: /home/bjorn/.rustup
no active toolchain
I attempted to install nightly-2022-12-13-x86_64-unknown-linux-gnu.