Hi,
Recently we made some testing on JetPack 5.1.2, and noticed a constant decrease of Available memory when leaving capture pipelines going. Happened on two different sets of hardware
Orin NX, with Jetpack 5.1.2 with a set of 2 Mipi OX08B40 cameras
Xavier NX, with Jetpack 5.1.2 with a set of 4 imx219 cameras with serdes(ub960/ub953)
nvarguscamerasrc is default, without any custom changes.
Testing and results for Xavier NX
That behaviour is also observed on a completely different set of hardware, in this case we were able to test using the libargus sample at /usr/src/jetson_multimedia_api/samples/10_argus_camera_recording
With the following patch on main.cpp, to capture indefinitely:
653c653
- for (int i = 0; i < CAPTURE_TIME && !frameConsumerThread.isInError(); i++)
---
+ while (!frameConsumerThread.isInError())
Hi,
We are not able to hit OOM killer in overnight test. Would need some time to check further. Not sure if you have tried 3-day and 5-day test and still see the memory gets increased? It is helpful if you have more information.
Hi,
Would be great if you can run argus_camera app to launch the cameras and see if the issue is present. To clarify if it is specific to running gstreamer command.
We tested with the argus_camera_recording sample app (/usr/src/jetson_multimedia_api/samples/10_argus_camera_recording) and we also see a decrease in available memory in time. We ran two tests:
Test 1:
Number of cameras: 4
Resolution: 1280x720@30fps
Duration: 21 hours
Decrease in memory available: 83.7 MB
Test 2:
Number of cameras: 4
Resolution: 1280x720@30fps
Duration: 12.5 hours
Decrease in memory available: 44.1 MB
In your post from September 5th, you reported a decrease on the available memory from 14134344 kB to 14004400 kB (129.9 MB) in the 23 hour test.