Skip to content

Commit 6d5431f

Browse files
committed
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.
1 parent 0b72c88 commit 6d5431f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/Sketch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ protected void size(PreferencesMap prefs) throws RunnerException {
16831683

16841684
int warnDataPercentage = Integer.parseInt(prefs.get("build.warn_data_percentage"));
16851685
if (maxDataSize > 0 && dataSize > maxDataSize*warnDataPercentage/100)
1686-
System.out.println(_("Low memory available, stability problems may occur"));
1686+
System.err.println(_("Low memory available, stability problems may occur."));
16871687
}
16881688

16891689
protected boolean upload(String buildPath, String suggestedClassName, boolean usingProgrammer) throws Exception {

0 commit comments

Comments
 (0)