Skip to content

arduino-cli core install arduino:avr not working on low memory system #1568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
evanharwin opened this issue Nov 24, 2021 · 2 comments
Closed
Assignees
Labels
status: waiting for information More information must be provided before work can proceed topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@evanharwin
Copy link

Bug Report

Current behavior

Trying to install arduino:avr support, as I belive this is neccessary for my Arduino UNO.

arduino-cli core install arduino:avr --verbose

Process is killed with out of memory error. Logs show it was on installation of arduino:[email protected]:

INFO[0000] Using config file: /home/pi/.arduino15/arduino-cli.yaml
INFO[0000] arduino-cli version 0.20.0
INFO[0000] Checking if CLI is Bundled into the IDE
INFO[0000] Adding libraries dir                          dir=/home/pi/Arduino/libraries location=user
INFO[0001] Checking signature                            index=/home/pi/.arduino15/package_index.json signatureFile=/home/pi/.arduino15/package_index.json.sig trusted=true
INFO[0001] Loading hardware from: /home/pi/.arduino15/packages
INFO[0001] Loading package builtin from: /home/pi/.arduino15/packages/builtin
INFO[0001] Checking existence of 'tools' path: /home/pi/.arduino15/packages/builtin/tools
INFO[0001] Loading tools from dir: /home/pi/.arduino15/packages/builtin/tools
INFO[0001] Loaded tool                                   tool="builtin:[email protected]"
INFO[0001] Loaded tool                                   tool="builtin:[email protected]"
INFO[0001] Loaded tool                                   tool="builtin:[email protected]"
INFO[0001] Loaded tool                                   tool="builtin:[email protected]"
INFO[0043] Executing `arduino-cli core install`
INFO[0043] Running from console, will run post-install by default
Downloading packages...
arduino:[email protected] downloaded
arduino:[email protected] downloaded
arduino:[email protected] downloaded
arduino:[email protected] downloaded
INFO[0139] Installing tool                               Tool="arduino:[email protected]"
Installing arduino:[email protected]...
INFO[2047] Tool installed                                Tool="arduino:[email protected]"
arduino:[email protected] installed
INFO[2047] Installing tool                               Tool="arduino:[email protected]"
Installing arduino:[email protected]...
Killed

And kernel logs show it was an out of memory error:

Out of memory: Killed process 729 (arduino-cli) total-vm:865672kB

Expected behavior

Installation to complete successfully.

Environment

  • CLI version (output of arduino-cli version): "arduino-cli Version: 0.20.0 Commit: 553c637 Date: 2021-11-23T14:35:08Z"
  • OS and platform: "Raspbian GNU/Linux 10 (buster)" on "Raspberry Pi Model B"
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Nov 24, 2021
@umbynos
Copy link
Contributor

umbynos commented Feb 2, 2023

Should be solved in codeclysm/extract#10
Could you please verify?

@umbynos umbynos added the status: waiting for information More information must be provided before work can proceed label Feb 2, 2023
@cmaglie
Copy link
Member

cmaglie commented Mar 17, 2023

Closing as solved, feel free to reopen (or open a new issue9 if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for information More information must be provided before work can proceed topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

6 participants