v01d edited a comment on pull request #2838:
URL: https://github.com/apache/incubator-nuttx/pull/2838#issuecomment-778363299


   OK, now it seems to work, thanks.
   
   Upon further inspection I found that the IDLE task seems to be at the edge 
of stack use:
   
   ```
   nsh>ps
     PID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK   USED  
FILLED COMMAND
       0   0 FIFO     Kthread N-- Ready              00000000 001536 001516  
98.6%! Idle Task
       1 100 RR       Task    --- Running            00000000 001540 001048  
68.0%  init
   ```
   
   maybe it is worth increasing it a bit?
   
   Also, free command returns quite different numbers after resetting a few 
times:
   
   ```
   NuttShell (NSH) NuttX-10.0.1
   nsh>free
                total       used       free    largest
   Umem:       302048     297041      37447      35960
   ```
   
   another time:
   
   ```
   NuttShell (NSH) NuttX-10.0.1
   nsh>free
                total       used       free    largest
   Umem:       302048      83770     243916      40612
   ```
   Any idea why this could be?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to