April 18–19, 2018Boston Convention & Exhibition CenterBoston, MA

ESC Boston 2017 Schedule Viewer

Use the scheduling tool below to browse all the available sessions, speakers, and topics at this year's event. Find the content and sessions to fit all of your educational needs and ensure you get the most out of your time at the event.
All SessionsSpeakersMy Schedule
View Sessions As:
  
  • Dynamic Memory Allocation & Fragmentation in C & C++

    Speaker:
    • Colin Walls  |  Embedded Software Technologist, Mentor Graphics
    Location:  ESC Engineering Theater (Booth 1067)
    Format: 45-Minute Technical Session
    Conference Track: Embedded Software
    Session Type: ESC Engineering Theater (Free)
    Pass type: Expo Pass (Free), Conference (Paid) - Get your pass now!
    Vault Recording: TBD

    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.