Memory usage

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
contremaitre
Blank Cone
Blank Cone
Posts: 27
Joined: 16 May 2008 11:49

Memory usage

Postby contremaitre » 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

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Memory usage

Postby Rémi Denis-Courmont » 23 May 2008 16:29

VLC does a lot of caching. But the truth is that there has not been any profiling activities recently, so it's impossible to answer.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 23 guests