Orin nano 8G jetpack6.2.1 and jetpack6.2 Pulling the camera stream of imx477 and finding a memory leak in kmalloc256

When I applied the CUDA_driver_36.4.4.tbz2 patch, attempting to pull the imx477 video stream still resulted in memory leakage.

The pull command uses

gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! ‘video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=960, height=616’ ! nvvidconv ! nvegltransform ! nveglglessink -e

When pulling real-time images, the memory used by kmalloc256 will gradually and continuously increase. It will grow by approximately 30M in about one hour. Even when the streaming test process is shut down, kmalloc256 is not released.

This bug has seriously affected our batch processing. Please verify the issue and resolve it as soon as possible.

Hi,
This looks to be a known issue. Please apply the patch and rebuilt kernel, nvidia-oot modules:

Making sure you're not a bot!
[gpu/host1x-fence] Significant kernel memory leak when using Argus camera

1 Like

I’ve tried and the problem has been solved.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.