Skip to content

"Out of memory" error when installing arduino:samd platform #1059

Closed
@arock093

Description

@arock093

I thought about posting this in the forum. It seems like a underlying technical issue so hopefully this will be alright.

I'm using a raspberry pi zero w. Based off of reports by others on the forum, it should be able to handle arduino-cli.
I tested the command arduino-cli core install arduino:avr and it worked fine.
I'm trying to run the commands, arduino-cli core install arduino:samd and arduino-cli core install adafruit:samd

This is the output. Both commands get hung up on "Installing arduino:arm-none-eabi-gcc@7-2017q4..." and then are Killed.

Downloading packages...
arduino:arm-none-eabi-gcc@7-2017q4 downloaded                                   
arduino:[email protected] downloaded                                        
arduino:[email protected] downloaded                                      
arduino:[email protected] downloaded                                                  
arduino:[email protected] downloaded                                            
arduino:[email protected] downloaded                                             
arduino:[email protected] downloaded                                                   
Installing arduino:arm-none-eabi-gcc@7-2017q4...
Killed

The process is getting killed for some reason.

dmesg output indicates a memory issue:

Out of memory: Killed process 514 (arduino-cli) total-vm:938304kB, anon-rss:398624kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:598kB oom_score_adj:0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions