Virtual Memory Problem

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
niemand
New Cone
New Cone
Posts: 1
Joined: 19 Apr 2009 15:32

Virtual Memory Problem

Postby niemand » 19 Apr 2009 16:06

I'm running VLC on a VPS with Linux; there's no possibility to increase my virtual memory. I need the possibility to run several Instances of VLC simultaneously. The problem is: vlc reserves far too much virtual memory and no more than two instances of vlc work properly.
The following "code" is the part of the output of the top command. As you can see, the Process 20411 causes Page Faults (nFLT)

Code: Select all

Mem: 5140812k total, 52988k used, 5087824k free, 0k buffers Swap: 0k total, 0k used, 0k free, 0k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ nFLT COMMAND 20411 niemand 15 0 170m 20m 4580 T 0 0.4 0:02.87 32 vlc 21622 niemand 18 0 156m 13m 4100 T 0 0.3 0:00.11 0 vlc 21559 niemand 15 0 144m 12m 4528 S 0 0.3 0:02.91 0 vlc
Is there any possibility preventing VLC from addressing too much virtual memory?
(Java, for example, has two command line options called -Xms<Initial Memory> and -Xmx<Maximal Memory>)

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

Re: Virtual Memory Problem

Postby Rémi Denis-Courmont » 19 Apr 2009 18:34

ulimit is your friend
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 88 guests