Hi All,<br><br>I am a newbee and am trying to study a simple pipeline (filesrc -> queue -> filesink) under different threading conditions. I am seeing memory leaks in "top" in some of them. However, valgrind does not report leaks in any case. I tried the following:
<br><ul><li>Running the pipeline once. No memory leaks in "top" and valgrind.<br><br></li><li>Running the pipeline multiple times (sequentially) in a single parent thread (no child threads spawned by the main application). No memory leaks in "top" and valgrind.
<br><br></li><li>Running multiple threads with each thread running an independent pipeline of the type above. I see memory leaks in "top" but valgrind does not show any leaks.</li><ul><li>Using a ~ 5MB file as input and running 10 threads (pipelines), I see "RES" memory usage in "top" increasing to around 10-12MB even after doing a gst_deinit() in the parent thread (after all threads have exited).
</li><li>This memory usage continues to increase as number of threads increase.</li><li>If I do not use a "queue" and directly connect "filesrc" and "filesink", I do not see this memory leak in "top".
</li><li>Using a very small file (1 byte), I do not see this leak but that may be due to lack of enough leakage in the system.</li></ul></ul>I am attaching a log file listing the number of threads Vs. memory usage. Has anyone come across something like this before? Any pointers/ideas/suggestions on what should I try?
<br><br>thanks and regards<br>Mohit Garg<br><br><br><br>