This is the mail archive of the ecos-discuss@sourceware.org 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]

Re: Re: uSTL how to use it?


Oliver Munz wrote:

In the moment i think it's possible that the crashes come from a RAM shortage... I looked at the stack usages, and they look ok, but i don't know how to check the stack-usage of the interrupt-stack and i have no idea how to check the heap-usage. Can You give me some hints on this?

Look on a comment to CDL option CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE. About memory usage: it seems for me that you can use mallinfo() to check memory usage (refer to stdlib.h). Also, try to enable asserts if you can.


Sergei

Thanks Oliver

-- 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]