Report
4 years, 11 months ago.

mbed LPC 1768 RAM Usage 128% what does this means?

/media/uploads/yangcq88517/20140527105405.png

I am using HTTP SOAP to communicate with web service as well as some graphic update according to the response, the mbed online compiler indicator that the current RAM usage is 127%, but the program still works.

So is this that a bug for the online compiler? or the mbed implements paging that swap member in real time?

Any help will be great!

Comment on this question

1 Answer

4 years, 11 months ago.

The LPC1768 has 3 RAM banks: One general purpose one of 32kB, and two aditional ones of 16kB each for ethernet/USB/CAN purposes. Ethernet completely fills one of those additional banks. The online compiler does take this into account for the total RAM usage, but assumes only 32kB is available (what would be the case for a regular program, although if you want you can also manually place variables in those other RAM banks), so it gets over the 100% what it displays, still will work fine though.


To post an answer, please log in.