[En-Nut-Discussion] System Restartting

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Sep 24 10:47:00 CEST 2012


>>>>> "Ayman" == Ayman Hendawy <ayman.hendawy at gmail.com> writes:

    Ayman> Dear Bonnes, Thanks for your reply, I put the following 3 lines
    Ayman> at the end of each task,

    Ayman> printf(" Heap problem %ld \n", NutHeapCheck()); printf(" Heap
    Ayman> free bytes %ld \n", NutHeapRootAvailable(root)); printf(" largest
    Ayman> Block %ld \n", NutHeapRootRegionAvailable(root));

    Ayman> The first task print: Heap problem 744751104 Heap free bytes
    Ayman> 744751104 largest Block 744816638

    Ayman> The second task print: Heap problem 813694976 Heap free bytes
    Ayman> 813694976 largest Block 813760510


Do you have an increadible amount of RAM on you system? More than 800 MByte?
These numbers seem insane. There is something fishy. Try some of the
examples in the example directory and add the heapcheck there. Are the
numbers sensible there?

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the En-Nut-Discussion mailing list