How can I know if heap memory is full?

nobody wrote on Monday, February 20, 2006:

How can I know if heap memory is full?
Thanks a lot.

nobody wrote on Monday, February 20, 2006:

API calls to create tasks, queues or semaphores cause memory to be allocated.  If there is no memory available then the API call returns an error code.

nobody wrote on Tuesday, February 21, 2006:

Ok, but my problem is to undetstand if the size of heap memory is, for example, too large.
Thanks for answers.
By.

jra01 wrote on Tuesday, February 21, 2006:

I use heap_1. Then the following should be good:
Use a debugger. Let the system start up. Then check the value of "xNextFreeByte". That is an exact measure of how much heap is allocated at the moment.

Jokke

nobody wrote on Wednesday, February 22, 2006:

Thank a lot!!
I will try.

By.