Hi,
We tested this again and found that memory does increase a little in the beginning.
But after that, memory usage remains the same for hours.
Could you also help confirm whether you see a similar behavior on your side?
This should be expected and not a bug.
Start:
$ ps aux | grep test2
nvidia 6233 0.8 0.3 8037028 26876 pts/0 Sl+ 02:53 0:00 ./test2
nvidia 6276 0.0 0.0 9016 1840 pts/1 S+ 02:53 0:00 grep --color=auto test2
$ sudo tegrastats
12-10-2024 02:54:07 RAM 1510/7620MB (lfb 4x4MB) SWAP 0/3810MB (cached 0MB) CPU [0%@1510,0%@1510,0%@1510,0%@1510,0%@1510,0%@1510] EMC_FREQ 0%@2133 GR3D_FREQ 0%@[624] NVDEC off NVJPG off NVJPG1 off VIC off OFA off APE 200 cpu@43.5C soc2@42.843C soc0@40.562C gpu@43.5C tj@43.5C soc1@42.062C VDD_IN 4654mW/4654mW VDD_CPU_GPU_CV 963mW/963mW VDD_SOC 1484mW/1484mW
12-10-2024 02:54:08 RAM 1510/7620MB (lfb 4x4MB) SWAP 0/3810MB (cached 0MB) CPU [0%@1510,0%@1510,0%@1510,0%@1510,0%@1510,0%@1510] EMC_FREQ 0%@2133 GR3D_FREQ 0%@[624] NVDEC off NVJPG off NVJPG1 off VIC off OFA off APE 200 cpu@43.343C soc2@42.843C soc0@40.656C gpu@43.625C tj@43.625C soc1@42.25C VDD_IN 4654mW/4654mW VDD_CPU_GPU_CV 963mW/963mW VDD_SOC 1484mW/1484mW
After 1 hour:
$ ps aux | grep test2
nvidia 6233 0.3 0.4 8037028 31232 pts/0 Sl+ 02:53 0:13 ./test2
nvidia 6404 0.0 0.0 9016 1852 pts/1 S+ 03:55 0:00 grep --color=auto test2
$ sudo tegrastats
12-10-2024 03:55:16 RAM 1520/7620MB (lfb 4x4MB) SWAP 0/3810MB (cached 0MB) CPU [0%@1510,0%@1510,0%@1510,0%@1510,0%@1510,0%@1510] EMC_FREQ 0%@2133 GR3D_FREQ 0%@[624] NVDEC off NVJPG off NVJPG1 off VIC off OFA off APE 200 cpu@44.843C soc2@44.312C soc0@42.156C gpu@44.906C tj@44.906C soc1@43.687C VDD_IN 4654mW/4654mW VDD_CPU_GPU_CV 963mW/963mW VDD_SOC 1484mW/1484mW
12-10-2024 03:55:17 RAM 1520/7620MB (lfb 4x4MB) SWAP 0/3810MB (cached 0MB) CPU [0%@1510,0%@1510,0%@1510,0%@1510,0%@1510,0%@1510] EMC_FREQ 0%@2133 GR3D_FREQ 0%@[624] NVDEC off NVJPG off NVJPG1 off VIC off OFA off APE 200 cpu@45C soc2@44.375C soc0@42.218C gpu@45.031C tj@45C soc1@43.468C VDD_IN 4654mW/4654mW VDD_CPU_GPU_CV 963mW/963mW VDD_SOC 1484mW/1484mW
After 2 hours:
$ ps aux | grep test2
nvidia 6233 0.3 0.4 8037028 31232 pts/0 Sl+ 02:53 0:25 ./test2
nvidia 6477 0.0 0.0 9016 1852 pts/1 S+ 04:56 0:00 grep --color=auto test2
$ sudo tegrastats
12-10-2024 04:56:24 RAM 1523/7620MB (lfb 5x4MB) SWAP 0/3810MB (cached 0MB) CPU [0%@1510,0%@1510,0%@1510,0%@1510,0%@1510,0%@1510] EMC_FREQ 0%@2133 GR3D_FREQ 0%@[624] NVDEC off NVJPG off NVJPG1 off VIC off OFA off APE 200 cpu@45.062C soc2@44.281C soc0@41.906C gpu@44.906C tj@45.062C soc1@43.468C VDD_IN 4654mW/4654mW VDD_CPU_GPU_CV 963mW/963mW VDD_SOC 1484mW/1484mW
12-10-2024 04:56:25 RAM 1523/7620MB (lfb 5x4MB) SWAP 0/3810MB (cached 0MB) CPU [3%@1510,0%@1510,0%@1510,0%@1510,0%@1510,0%@1510] EMC_FREQ 0%@2133 GR3D_FREQ 0%@[624] NVDEC off NVJPG off NVJPG1 off VIC off OFA off APE 200 cpu@44.812C soc2@44.187C soc0@42.062C gpu@44.812C tj@44.812C soc1@43.718C VDD_IN 4694mW/4674mW VDD_CPU_GPU_CV 963mW/963mW VDD_SOC 1484mW/1484mW
After 3 hours
$ ps aux | grep test2
nvidia 6233 0.3 0.4 8037028 31232 pts/0 Sl+ 02:53 0:39 ./test2
nvidia 6567 0.0 0.0 9016 1844 pts/1 S+ 06:09 0:00 grep --color=auto test2
$ sudo tegrastats
12-10-2024 06:09:59 RAM 1521/7620MB (lfb 4x4MB) SWAP 0/3810MB (cached 0MB) CPU [0%@1510,0%@1510,0%@1510,1%@1510,0%@1510,0%@1510] EMC_FREQ 0%@2133 GR3D_FREQ 0%@[624] NVDEC off NVJPG off NVJPG1 off VIC off OFA off APE 200 cpu@44.968C soc2@44.312C soc0@42.156C gpu@45.281C tj@45.281C soc1@43.406C VDD_IN 4654mW/4654mW VDD_CPU_GPU_CV 963mW/963mW VDD_SOC 1484mW/1484mW
12-10-2024 06:10:00 RAM 1521/7620MB (lfb 4x4MB) SWAP 0/3810MB (cached 0MB) CPU [0%@1510,0%@1510,0%@1510,0%@1510,0%@1510,0%@1510]
Thanks.