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? |
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.
|
Hmmm, there must be some way to make mplayer unload automatically.
Thanks for the help. |
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.
|
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. |
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 |
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. |
All times are GMT -5. The time now is 08:08 PM. |