LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-28-2005, 09:29 AM   #1
mooreted
Member
 
Registered: May 2003
Posts: 598

Rep: Reputation: 30
Mplayer not removing from memory.


Since I have 1 gig of memory, I was surprised that my system began slowing down due to lack of memory. When I ran "ps aux" I found over 100 instances of Mplayer running. How can this be?

I am using FluxBox as my WM.

How can I prevent this behavior?
 
Old 02-28-2005, 02:11 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
I also had this problem when I was using Mandrake 9.1, however, I only got it when I streamed/viewed media files in Firefox. I had to just kill it manually by hand.
 
Old 02-28-2005, 02:40 PM   #3
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
Hmmm, there must be some way to make mplayer unload automatically.

Thanks for the help.
 
Old 02-28-2005, 03:15 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Maybe if you could run your mplayer from the cosole so that we can see the output. Do you have auto-repeat on? I know one reason why my Mandrake 9.1 kept loading MPlayer in Firefox was because it kept looping media files so it kept opening up new Mplayer application. I did not know how to turn off the looping feature, and I still don't know how.
 
Old 02-28-2005, 05:01 PM   #5
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


77 audio & 188 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing tia_300.wmv.
ASF file format detected.
VIDEO: [WMV2] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Decoder supports the following YUV formats: YUY2 IYUV UYVY YV12 YVYU I420 YVU9
Decoder is capable of YUV output (flags 0x7f)
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12 [zoom]
Selected video codec: [wmv8] vfm:dshow (Windows Media Video 8)
==========================================================================
Audio: no sound
Starting playback...


I played this file twice and now "ps aux" shows the file running in memory twice even though I closed Mplayer.

Videos are not looping nor set to loop.

Thanks for the help.
 
Old 02-28-2005, 05:25 PM   #6
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
I checked with top and "ps aux" top does not show an instance of mplayer running. I'm not sure I am seeing what I think I'm seeing. I'm confused.

ps aux (partial):

mooreted 6858 0.0 0.8 33568 8828 ? S 15:12 0:00 mplayer file.mpg
mooreted 6860 0.0 0.8 33568 8828 ? S 15:12 0:00 mplayer file.mpg
mooreted 6862 0.0 0.8 33568 8828 ? S 15:12 0:00 mplayer file.mpg
mooreted 6864 0.0 0.8 33568 8828 ? S 15:12 0:00 mplayer file.mpg
mooreted 6866 0.0 0.8 33568 8828 ? S 15:12 0:00 mplayer file.mpg
 
Old 02-28-2005, 06:40 PM   #7
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
I just did a complete update of my system. The behavior has stopped. Mplayer is working fine now. I guess I'll never know which process had the memory leak.

Thanks for the help everyone.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Old Mplayer Leftovers Wheat_Thins Linux - Software 2 11-25-2005 05:00 PM
Manually removing MPlayer tolstyi Mandriva 15 12-01-2004 09:48 AM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 08:16 AM
MPlayer grows in memory kszoke Linux - Software 1 01-12-2004 07:32 AM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration