This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to see the Heap usage in eCos ? Malloc is failing.


Dear All,

Is there anyway (any eCos library) by which I can see the current heap usage
?

malloc() is failing, returning NULL. So I would like to debug the situation,
to see if there are any leaks in my code.

In Vxworks, we used to use a library called memLib in which memShow() would
would show the total system heap, the current usage, the peak usage, etc.
Something like this would really help in debugging the situation.

If no such memeory library is present, then I would need your suggestions on
deubugging the problems.

Thanks in advance for your advice.

With Regards,

Mohasin



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]