Skip to content

Incomplete error message when sketch uses too much memory #527

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
federicobond opened this issue Dec 20, 2019 · 0 comments · Fixed by #536
Closed

Incomplete error message when sketch uses too much memory #527

federicobond opened this issue Dec 20, 2019 · 0 comments · Fixed by #536
Milestone

Comments

@federicobond
Copy link
Contributor

Bug Report

Current behavior

When compiling a sketch that uses too much memory, the compile command output ends with something like this:

Sketch uses 22312 bytes (69%) of program storage space. Maximum is 32256 bytes.
Global variables use 3263 bytes (159%) of dynamic memory, leaving -1215 bytes for local variables. Maximum is 2048 bytes.
Not enough memory; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint.
Error during build: build failed: 

Expected behavior

Last line should not end with colon (:)

Environment

  • CLI version (output of arduino-cli version): arduino-cli Version: 0.6.0 Commit: 3a08b07
  • OS and platform: macOS 10.15.2
@masci masci added this to the 0.8.0 milestone Jan 2, 2020
@masci masci closed this as completed in #536 Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants