You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.err.println(I18n.format(tr("Couldn't determine program size: {0}"), e.getMessage()));
320
-
return;
321
-
}
322
-
323
-
longtextSize = sizes[0];
324
-
longdataSize = sizes[1];
325
-
System.out.println();
326
-
System.out.println(I18n.format(tr("Sketch uses {0} bytes ({2}%%) of program storage space. Maximum is {1} bytes."), textSize, maxTextSize, textSize * 100 / maxTextSize));
327
-
if (dataSize >= 0) {
328
-
if (maxDataSize > 0) {
329
-
System.out.println(I18n.format(tr("Global variables use {0} bytes ({2}%%) of dynamic memory, leaving {3} bytes for local variables. Maximum is {1} bytes."), dataSize, maxDataSize, dataSize * 100 / maxDataSize, maxDataSize - dataSize));
330
-
} else {
331
-
System.out.println(I18n.format(tr("Global variables use {0} bytes of dynamic memory."), dataSize));
332
-
}
333
-
}
334
-
335
-
if (textSize > maxTextSize) {
336
-
thrownewRunnerException(tr("Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it."));
337
-
}
338
-
339
-
if (maxDataSize > 0 && dataSize > maxDataSize) {
340
-
thrownewRunnerException(tr("Not enough memory; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint."));
0 commit comments