Skip to content

Better error message if sketch too big #2770

@NicoHood

Description

@NicoHood

Used Arduino Leonardo Board and IDE 1.6.1 on Windows 8.1

Sketch uses 31,416 bytes (109%) of program storage space. Maximum is 28,672 bytes.
Global variables use 1,335 bytes (52%) of dynamic memory, leaving 1,225 bytes for local variables. Maximum is 2,560 bytes.
processing.app.debug.RunnerException: Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
    at processing.app.debug.Compiler.size(Compiler.java:325)
    at processing.app.debug.Compiler.build(Compiler.java:117)
    at processing.app.Sketch.build(Sketch.java:1169)
    at processing.app.Sketch.build(Sketch.java:1142)
    at processing.app.Editor$BuildHandler.run(Editor.java:1977)
    at java.lang.Thread.run(Thread.java:745)
Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions