Skip to content

Commit 4b2834e

Browse files
author
Renat0Ribeir0
committed
update article
1 parent c36f433 commit 4b2834e

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

content/Software and Downloads/Compilation/The-IDE-prints-a-message-about-sketch-size-and-memory-usage.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
title: "The IDE prints a message about sketch size and memory usage"
33
---
44

5-
After compiling a sketch the IDE will check for storage and memory usage, against the specifications of the selected board. **Note that the results are always printed to the console, even if successful.** As long as the use of storage space and dynamic memory usage are both below 100%, the message does not indicate a problem.
5+
The IDE always checks for storage space and dynamic memory usage when compiling your code and prints the results to the console.
66

7-
## Example
7+
![IDE storage space and memory usage printed in the console](img/IDE_storage_and_memory_console.png)
88

9-
```
10-
Sketch uses 4316 bytes (15%) of program storage space. Maximum is 28672 bytes.
11-
Global variables use 153 bytes (5%) of dynamic memory, leaving 2407 bytes for local variables. Maximum is 2560 bytes.
12-
```
139

14-
This sketch has a storage space usage of 15% and memory usage of 5%. Both results are well below 100%, and will present no issues.
10+
* If both values are **below** 100%, you don't need to do anything.
11+
12+
* If either storage space or dynamic memory usage is **above** 100%, you have to free up storage space or optimize your code. See [Reduce the size and memory usage of your sketch](https://support.arduino.cc/hc/en-us/articles/360013825179-Reduce-the-size-and-memory-usage-of-your-sketch) for more information.
53.2 KB
Loading

0 commit comments

Comments
 (0)