The new nvcompositor.so was not so good.
The script was killed about 20 hous later.
----------- syslog ----------------------
Aug 14 16:08:40 tegra-ubuntu kernel: [109476.870946] Out of memory: Kill process 2486 (jkapp3) score 844 or sacrifice child
Aug 14 16:08:40 tegra-ubuntu kernel: [109476.882294] Killed process 2486 (jkapp3) total-vm:9134644kB, anon-rss:6767424kB, file-rss:11876kB
In a case of the original nvcompositor.so, it was killed about 3 days later.
Also in the case without nvcompositor, the following script, this memory leak was happened.
Hi kozo,
We have run over-weekend test with nvoverlaysink(without nvcompositor) and don’t hit the process being killed by OoM killer. You hit the issue when running ‘nvcompositor ! nvoverlaysink’ or running nvoerlaysink only?
Thank you for your help and support.
This occured in both of “nvcompositor ! nvoverlaysink” and " nvoverlaysink" only.
However, I feel the following two things.
The larger the image size, the easier this is occured.
the image size that I’m using is 3840 x 2160 size.
the frame rate is 30 fps.
At the size is 1920x1080, the memory leak was only little.
As the probability of packet loss ( and jitter) increases, this is more likely to occur.
The rtspsrc element is received a data through the wifi network.
There are quite a lot of packet losses and jitter.
BTW, Although the process was not killed by “out of memory”, is a physical memory usage increased?