Tag Archives: malloc

Visualizing the Heap on Embedded Systems – Part II

In the last article, I described a method to acquire heap allocation data from an embedded system. Next, I’ll describe how to visualize the data. First, though, to make things easier, I’ll acquire some real data from a regular Linux application. For simplicity, I profiled a Linux application built with gcc, but the same principle […]

Posted in embedded | Also tagged , , | Leave a comment

Visualizing the Heap on Embedded Systems

Debugging a memory leak can seem trivial compared to debugging fragmentation. Faced with such a problem recently, I decided I really needed to visualize what the heap looked like to determine how to fix the problem. Many embedded systems avoid using dynamic memory allocation entirely to avoid just this kind of problem, among others. But […]

Posted in embedded | Also tagged , , | 1 Response