Shared object heap allocation

Is there a way to determine how much memory a shared object has allocated?
When I look at the results of pidin mem heap allocation is added to the
process total but not to the shared object that allocated it.

Robert

QNX Newsgroup wrote:

Is there a way to determine how much memory a shared object has allocated?
When I look at the results of pidin mem heap allocation is added to the
process total but not to the shared object that allocated it.

Shared objects do not own heap. Processes which mapped them do. A
malloc() in shared object will add memory to process which called that
malloc().

  • igor