We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [sram]

Volatile memory used by Arduino programs for storing variables and other data at runtime.

Filter by
Sorted by
Tagged with
19
votes
5answers
7k views

I'm using too much RAM. How can this be measured?

I would like to know how much RAM I am using in my project, as far as I can tell, there's no way to actually work that out (other than going through and calculating it myself). I have got to a stage ...
49
votes
8answers
76k views

Is using malloc() and free() a really bad idea on Arduino?

The use of malloc() and free() seems pretty rare in the Arduino world. It is used in pure AVR C much more often, but still with caution. Is it a really bad idea to use malloc() and free() with ...
19
votes
5answers
6k views

How much can I recurse? How much can I recurse? How much ca!@#QFSD@$RFW

The Arduino Uno board has limited RAM which means it has a limited call stack available. Sometimes, recursion is the only quick option to implement a certain algorithm. So, given that the call stack ...