RTEMS Frequently Asked Questions
An executive workspace overage can be fairly easily spotted with a debugger. Look at _Workspace_Area. If first == last, then there is only one free block of memory in the workspace (very likely if no task deletions). Then do this:
(gdb) p *(Heap_Block *)_Workspace_Area->first $3 = {back_flag = 1, front_flag = 68552, next = 0x1e260, previous = 0x1e25c}
In this case, I had 68552 bytes left in the workspace.
RTEMS Frequently Asked Questions
Copyright © 1988-2004 OAR Corporation