FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [February 2006 Threads] How can I know if heap memory is full?Posted by Nobody/Anonymous on February 20, 2006 How can I know if heap memory is full? Thanks a lot.
RE: How can I know if heap memory is full?Posted by Nobody/Anonymous on 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.
RE: How can I know if heap memory is full?Posted by Nobody/Anonymous on 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.
RE: How can I know if heap memory is full?Posted by Jokke on 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
RE: How can I know if heap memory is full?Posted by Nobody/Anonymous on February 22, 2006 Thank a lot!! I will try.
By.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|