Skip to content

Incomplete error message when sketch uses too much memory #527

Closed
@federicobond

Description

@federicobond

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions