From 6d5431f63c2fa57ed3db6ecb13bb308a9d52fc55 Mon Sep 17 00:00:00 2001 From: Matt Robinson Date: Tue, 31 Dec 2013 15:54:43 +0000 Subject: [PATCH] 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. --- app/src/processing/app/Sketch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/processing/app/Sketch.java b/app/src/processing/app/Sketch.java index c8a2967ec..da5f513a1 100644 --- a/app/src/processing/app/Sketch.java +++ b/app/src/processing/app/Sketch.java @@ -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 {