Memory usage
Posted: 23 May 2008 11:37
Hello,
Can someone explain me why vlc uses a lot of memory ?
I tried to open a few rtsp stream, and save it on disk.
4 streams = 150 Mo
Memory usage is about 80Mo for vlc + 20Mo per stream.
I also tried to run a small selfmade code with libvlc and I have :
libvlc instance = 34 Mo
+ vlm object = 42 Mo
+ stream record (so, no gui) = 52
+ 2 others stream = 82Mo
This memory usage is with pmap -d -> private memory usage (don't count shared libs)
My questions are :
- Why vlc uses so much memory by itself (34Mo just for one libvlc instance)
- Why vlc uses 20Mo each time I add a stream ?
thank you
Can someone explain me why vlc uses a lot of memory ?
I tried to open a few rtsp stream, and save it on disk.
4 streams = 150 Mo
Memory usage is about 80Mo for vlc + 20Mo per stream.
I also tried to run a small selfmade code with libvlc and I have :
libvlc instance = 34 Mo
+ vlm object = 42 Mo
+ stream record (so, no gui) = 52
+ 2 others stream = 82Mo
This memory usage is with pmap -d -> private memory usage (don't count shared libs)
My questions are :
- Why vlc uses so much memory by itself (34Mo just for one libvlc instance)
- Why vlc uses 20Mo each time I add a stream ?
thank you