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

Improve low free memory reporting #1775

Merged
merged 1 commit into from May 3, 2014

Conversation

3 participants
@ribbons
Copy link

commented Jan 1, 2014

A couple of small enhancements to the memory usage report at the end of a successful compile:

  • Send the low available memory warning to err rather than out so that it appears as a more visible warning.
  • Remember the size of the text and data from the last compile and show how much of a change there was (if any).
Make the low available memory message a warning
Write the low available memory message to err rather than out so that it
appears more like a warning and is more noticeable.
@ribbons

This comment has been minimized.

Copy link
Author

commented Feb 2, 2014

@cmaglie Would it be possible for you to take a quick look at this when time permits?

@ffissore ffissore added Uncategorized and removed 1.0 labels Feb 27, 2014

@ribbons

This comment has been minimized.

Copy link
Author

commented Mar 23, 2014

Is there a problem with what I'm proposing in this PR or the way I've implemented it, or is it just a case of waiting until it reaches the top of the pile?

@cmaglie

This comment has been minimized.

Copy link
Member

commented Apr 1, 2014

Hi @ribbons!
I'm really sorry for the delay.

These two lines of text are the most "disputed" in the history of Arduino, currently they are the result of a ton of discussions and mediation between two opposite designs: a lot of information but terse and potentially confusing (for the beginner) vs. concise information but clearly explained.
Let me check this patch with the developers list to see if there are concerns (or maybe you want to do it?).

@ribbons ribbons changed the title Memory usage reporting enhancements Low memory usage reporting enhancement May 2, 2014

@ribbons ribbons changed the title Low memory usage reporting enhancement Improve low memory usage reporting May 2, 2014

@ribbons ribbons changed the title Improve low memory usage reporting Improve low free memory reporting May 2, 2014

@ribbons

This comment has been minimized.

Copy link
Author

commented May 2, 2014

Hi @cmaglie, as the general agreement on the developers mailing list was that the memory usage delta display wasn't really of use, I've dropped that commit out of this PR.

This just leaves the commit which fixes a whitespace error and sends the low available memory warning to err instead of out (causing it to appear in orange instead of white text in the IDE). Would that be something that you would consider merging?

cmaglie added a commit that referenced this pull request May 3, 2014

Merge pull request #1775 from ribbons/memory-usage
Improve low free memory reporting

@cmaglie cmaglie merged commit d025638 into arduino:ide-1.5.x May 3, 2014

@cmaglie

This comment has been minimized.

Copy link
Member

commented May 3, 2014

Yup, thanks.

@ribbons ribbons deleted the ribbons:memory-usage branch May 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.