VLM change or delete media seems not free total resource
Posted: 12 Apr 2013 04:53
Dears,
I implement a file-split camera recording mechanism that uses VLM to change media output name periodically.
I found that when I record the camera stream continuously, the memory is stable. When I stop stream and then
call change_media to modify destination file name and play_media again. At first the memory usage declined,
and then it raises and finally in a stable state.But it used 200K~500K more final stable memory usage than the previous final stable memory usage.
In my experiment, the stable memory usage is 40mb from the start, after two days the memory usage up to 500mb.
I also try del_media and add_broadcast to implement my mechanism, the result is the same.
Thanks for any help
I implement a file-split camera recording mechanism that uses VLM to change media output name periodically.
I found that when I record the camera stream continuously, the memory is stable. When I stop stream and then
call change_media to modify destination file name and play_media again. At first the memory usage declined,
and then it raises and finally in a stable state.But it used 200K~500K more final stable memory usage than the previous final stable memory usage.
In my experiment, the stable memory usage is 40mb from the start, after two days the memory usage up to 500mb.
I also try del_media and add_broadcast to implement my mechanism, the result is the same.
Thanks for any help