10 years, 7 months ago.  This question has been closed. Reason: I've got my answer

shown RAM usage is more than 120%

Hi

When I compile and look to the build result , I see that then RAM usage is more then 120% ! This "huge" RAM increase happened after I added the EthernetInterface - lib to the program in order to create a HTTP client . The RAM used without this ethernet functionality is less than 2K .

Is it possible that there is an error in the calculation ? It seems it is also adding the memory usage of RAM2 and RAM3 .

Thanks in advance

Patrick

2 Answers

10 years, 7 months ago.

Yep that is a known situation. The extra RAM banks are added to the shown RAM usage: if you actually go over the max RAM at compile time it will generate an error. Also for example the IAP library for programming the flash of LPC1768/LPC11u24 reserves the flash memory in such a way the compiler thinks it is RAM memory and you get the same situation. But the code should work fine.

Accepted Answer
Patrick VDK
poster
10 years, 7 months ago.

Thank you for this confirmation !