Global Sources
EE Times-India
Stay in touch with EE Times India
 
EE Times-India > Embedded
 
 
Embedded  

Solving deterministic dynamic memory allocation issues

Posted: 02 Feb 2010     Print Version  Bookmark and Share

Keywords:memory allocation  dynamic memory  memory allocation issues 

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 issue 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. This article details the problems and an approach to deterministic dynamic memory allocation.

View the PDF document for more information.





Comment on "Solving deterministic dynamic memory..."
Comments:  
*  You can enter [0] more charecters.
*Verify code:
 
 
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

 

Go to top             Connect on Facebook      Follow us on Twitter      Follow us on Orkut

 
Back to Top