masayuki2009 commented on PR #2159:
URL: https://github.com/apache/nuttx-apps/pull/2159#issuecomment-1780174014

   @pussuw 
   
   I noticed that memory leaks happen when executing the hello app with 
rv-virt:ksmp64
   
   ```
   /home/ishikawa/opensource/QEMU/qemu-7.2.4/build/qemu-system-riscv64 
-semihosting -nographic -cpu rv64 -smp 8 -M virt,aclint=on -bios none -kernel 
nuttx
   
   NuttShell (NSH) NuttX-12.0.0
   nsh> ps
     PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK          
 STACK   USED  FILLED COMMAND
       0     0   0   0 FIFO     Kthread N-- Assigned           0000000000000000 
003056 001680  54.9%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Running            0000000000000000 
003056 001136  37.1%  CPU1 IDLE
       2     2   2   0 FIFO     Kthread N-- Running            0000000000000000 
003056 001136  37.1%  CPU2 IDLE
       3     3   3   0 FIFO     Kthread N-- Running            0000000000000000 
003056 001136  37.1%  CPU3 IDLE
       4     4 --- 100 RR       Kthread --- Waiting  Semaphore 0000000000000000 
001968 000704  35.7%  lpwork 0x802057d0 0x802057f8
       5     5   0 100 RR       Task    --- Running            0000000000000000 
003008 001304  43.3%  /system/bin/init
   nsh> help
   help usage:  help [-v] [<cmd>]
   
       .           cp          exit        mkrd        set         unset
       [           cmp         false       mount       sleep       uptime
       ?           dirname     fdinfo      mv          source      usleep
       alias       dd          free        pidof       test        xd
       unalias     df          help        printf      time
       basename    dmesg       hexdump     ps          true
       break       echo        kill        pwd         truncate
       cat         env         ls          rm          uname
       cd          exec        mkdir       rmdir       umount
   nsh> hello
   Hello, World!!
   nsh> free
                      total       used       free    largest  nused  nfree
           Kmem:    2053120      21216    2031904    2031568     59      4
           Page:    4194304    1159168    3035136    3035136
   nsh> hello
   Hello, World!!
   nsh> free
                      total       used       free    largest  nused  nfree
           Kmem:    2053120      24688    2028432    2028112     61      3
           Page:    4194304    1159168    3035136    2478080
   nsh> hello
   Hello, World!!
   nsh> free
                      total       used       free    largest  nused  nfree
           Kmem:    2053120      28128    2024992    2024656     63      4
           Page:    4194304    1159168    3035136    3035136
   nsh> hello
   Hello, World!!
   nsh> free
                      total       used       free    largest  nused  nfree
           Kmem:    2053120      31600    2021520    2021200     65      3
           Page:    4194304    1159168    3035136    2478080
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to