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.
This commit is contained in:
Matt Robinson 2013-12-31 15:54:43 +00:00
parent 0b72c88b42
commit 6d5431f63c
1 changed files with 1 additions and 1 deletions

View File

@ -1683,7 +1683,7 @@ public class Sketch {
int warnDataPercentage = Integer.parseInt(prefs.get("build.warn_data_percentage"));
if (maxDataSize > 0 && dataSize > maxDataSize*warnDataPercentage/100)
System.out.println(_("Low memory available, stability problems may occur"));
System.err.println(_("Low memory available, stability problems may occur."));
}
protected boolean upload(String buildPath, String suggestedClassName, boolean usingProgrammer) throws Exception {