Skip to content
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

Better error message if sketch too big #2770

Open
NicoHood opened this issue Mar 14, 2015 · 2 comments
Open

Better error message if sketch too big #2770

NicoHood opened this issue Mar 14, 2015 · 2 comments
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix)

Comments

@NicoHood
Copy link
Contributor

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.
@matthijskooijman
Copy link
Collaborator

What do you think needs improving? The error message looks pretty ok to me, except that the backtrace doesn't really serve any purpose.

@NicoHood
Copy link
Contributor Author

The output. Is it intended that it posts that errors?

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)

@cmaglie cmaglie added feature request A request to make an enhancement (not a bug fix) Component: IDE user interface The Arduino IDE's user interface labels Mar 17, 2015
@ffissore ffissore self-assigned this Jul 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

4 participants