I haven’t used the org.gnome.Shell.Notifications tool before, so I don’t know what this output means.
You can use the below tools to check memory usage and share the result. The “definitely lost” in report log in valgrind is the leakage.I will also try it from my side.
Display the memory usage:
9. [DS 5.0GA_Jetson_App] Capture HW & SW Memory Leak log
1.Download attachment on to Jetson device and rename to nvmemstat.py
2.Install “lsof” tool
$ sudo apt-get install lsof
3.Run your application on Jetson in one terminal or background
4.Run this script with command :
# replace PROGRAM_NAME to application name in step 2
# this script will monitor the hardware memory, SW memory, etc.
$ sudo python3 nvmemstat.py -p PROGRAM_NAME
5.Share the log on the topic for further triage
n…
Check memory leak with valgrind:
14. [All_Jetson_App] Check memory leakage with valgrind
Install valgrind with below command
$ sudo apt-get install valgrind valgrind-dbg
Run application with below command
$ valgrind --tool=memcheck --leak-check=full --num-callers=100 --show-leak-kinds=definite,indirect --track-origins=yes ./app