Skip to content

Raspberry Pi Zero 2 W - runs out of memory when installing rust #120049

@adzke

Description

@adzke

I tried this code:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

I expected to see this happen:

Rust to be installed.

Instead, this happened:

Ran out of memory.

rustc --version --verbose:

Latest run version 64 bit
G'day rust team! This is my first issue post ever, but i thought you would find this bug interesting.

Using a Raspberry Pi Zero 2 W 64 bit, and install rust, you will find that after it's completed downloading, the installation will failure. It's failing due to memory related issues.

I solved this problem but increasing swap allocation on the Raspberry Pi.

Note: this doesn't failure installation on a 32 bit Raspberry Pi zero 1 w

Thanks all!

AD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions