Thought Leadership

Embedded Systems Conference, San Jose

By Colin Walls

ESCNext week, the California ESC event takes place and it is back in San Jose this year. I was planning to be there, as I had a paper accepted. Sadly, I needed to cancel my trip and a colleague will present on my behalf. Here are the details of the paper:

Dynamic Memory Allocation & Fragmentation in C & C++

In C and C++, it can be very convenient to allocate and de-allocate blocks of memory as and when needed. This is certainly standard practice in both languages and almost unavoidable in C++. However, the handling of such dynamic memory can be problematic and inefficient. For desktop applications, where memory is freely available, these difficulties can be ignored. For embedded – generally real time – applications, ignoring the issues is not an option.
Dynamic memory allocation tends to be non-deterministic; the time taken to allocate memory may not be predictable and the memory pool may become fragmented, resulting in unexpected allocation failures. In this session the problems will be outlined in detail and an approach to deterministic dynamic memory allocation detailed.

I am sad to be missing the show, but I hope it goes well. If you would like a copy of my presentation, please contact me via email or social media.

Leave a Reply

This article first appeared on the Siemens Digital Industries Software blog at https://blogs.sw.siemens.com/embedded-software/2016/11/28/embedded-systems-conference-san-jose/