VLC slows down my Mac Mini

macOS specific usage questions
booster69
New Cone
New Cone
Posts: 3
Joined: 05 May 2008 12:08

VLC slows down my Mac Mini

Postby booster69 » 25 Oct 2010 23:00

Hi guys,

I've been an extremely content VLC user for some years now.
I have a Mac Mini hooked up to my projector and have always used VLC for watching all my video files.
My Mac is getting on a bit now - it's a 2Ghz with 1GB RAM. It had always run perfectly, even with many applications open simultaneously, something that used to amaze me, it seemed so much more efficient than any PC I had owned!

I only started to get problems when I upgraded to a newer version of VLC. I had been running the same version for many years - ver 0.8 or 0.9 I think. I am now on ver 1.1.3.
Basically, now when I open VLC the system initially is fine. Video playback is perfect, even 720p mkv files run without glitching, the problems occur when I try to exit to finder or switch applications. The system takes an age to respond and I usually end up with the rainbow wheel. This behavior continues until I manage to quit VLC, which in itself proves difficult because the system is running so slow, then everything is fine again.

I thought initially that I might need to upgrade my RAM to take the newer version. Maybe that is the case, but if so it is a little frustrating, because I can run an xvid film through Quicktime and be able to run many other apps simultaneously, but cannot with VLC.

Any help or advice is appreciated.

kdean
Big Cone-huna
Big Cone-huna
Posts: 629
Joined: 05 Dec 2007 17:47
VLC version: 2.2
Operating System: Mac OS
Location: Orlando, FL

Re: VLC slows down my Mac Mini

Postby kdean » 26 Oct 2010 17:50

Definitely sounds like RAM is being paged to disk and the slowness in switching to other apps is the memory being retrieved back from the hard drive. If possible a RAM upgrade would be advised. Someone else more familiar with VLC's memory related settings (if any) may be able to suggest some internal adjustments.

ajmas
Big Cone-huna
Big Cone-huna
Posts: 935
Joined: 04 Feb 2006 07:33
VLC version: 3.0.x
Operating System: MacOS X
Location: Montreal, Canada

Re: VLC slows down my Mac Mini

Postby ajmas » 27 Oct 2010 16:39

Have you compared the RAM usage of 0.9 and 1.1.3 o your Mac mini? Also see what the RAM usage is in general.

BTW If you are a position to be able to, I would recommend getting the 4GB of memory, either way. As kdean suggested this sounds like a paging issue.
Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvers help you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional: Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.

Entropy
New Cone
New Cone
Posts: 7
Joined: 02 Nov 2010 00:02

Re: VLC slows down my Mac Mini

Postby Entropy » 02 Nov 2010 00:32

This is because of an issue with newer versions of VLC. It is causing the OS to catch all of the data that it reads, filling up your memory with inactive memory. This drastically slows the system down. I experience the same issues on my 2.4GHz 4GB MacBook.

roger jonsson
Blank Cone
Blank Cone
Posts: 68
Joined: 23 Apr 2007 19:21

Re: VLC slows down my Mac Mini

Postby roger jonsson » 02 Nov 2010 10:16

4 GB of ram doesn't cure the problem completely either. Often after having watched a DVD (the movie is more than 4 GB) makes the Mac is very slow and only a few MB of memory left. Starting a new program, doing what ever that needs new memory takes forever. Even some drop down menues refuse for several seconds. Probably because it takes time for OSX to release the memory cached. I really hate that part of OS X. Caching is great for small files, but for large ones it most often is a great pain and pointless, -since it is nearly always read only once...
Just copy a videofile larger than RAM and you are there. Everything else new takes forever afterwards, sometimes for a long while.

But since all software doesn't seem to steal all the memory, I guess there is a way around. Maybe it is about reading/releasing the files in smaller chunks (fooling OSX into releasing cashed memory as it goes)?

roger jonsson
Blank Cone
Blank Cone
Posts: 68
Joined: 23 Apr 2007 19:21

Re: VLC slows down my Mac Mini

Postby roger jonsson » 02 Nov 2010 10:37

fcntl(F_NOCACHE)
-Reading without caching was suggested in this thread:
viewtopic.php?f=12&t=83960

roger jonsson
Blank Cone
Blank Cone
Posts: 68
Joined: 23 Apr 2007 19:21

Re: VLC slows down my Mac Mini

Postby roger jonsson » 02 Nov 2010 11:13

I Just tested a mpeg2 movie from the hard drive and yes VLC chews up the free memory constantly.

Edit:
NOT TRUE: "Mplayer Extended doesn't seem to do this."
Sorry. I was fooled by the caching. As soon as Mplayer Extended passed the parts read by VLC, it started chewing free memory as well.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests