You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

What is com.apple.MediaLibraryService?

I just upgraded to Mavericks and iTunes 11.1.2. A few other quick notes on my setup:


  • I wirelessly sync to my iPhone 4S running iOS7.
  • My iTunes and iPhoto libraries are located on a remote disk that I am connected to wirelessly. My router is a Time Capsule with a Lacie HD hooked up to it. The Lacie is where the iTunes and iPhoto LIbraries are located.


First, everything seems to work fine. There is one thing that I noticed though, when I am listening to iTunes internet radio (WXPN or Radio Paradise), I notice that this app (com.apple.MediaLIbraryService) keeps running in the background. It is a drain on the CPU and battery and I notice that my Lacie HD is always spinning. Before the upgrade, the drive would sleep, even while I was listening to internet radio on iTunes because I was not accessing any files.


The app does disappear when I shut down iTunes.


What is the app doing and how can I stop it from being a CPU and battery drain, along with stop spinning up the Lacie HD?


Thanks in advance!


John Mc

MacBook Air (11-inch Mid 2011), OS X Mavericks (10.9)

Posted on Nov 2, 2013 7:32 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 8, 2013 6:24 AM

Just bumping this back up. I haven't found any info and hoping someone else has.



Again, thanks in advance!


John Mc

73 replies

Feb 5, 2014 11:34 PM in response to edzHelp

I have not found a fix to this issue, but I did find the culprit. After trying everything suggestion on here and not getting any results, I decided to did a little deeper.

I decided to close all of my apps, and one by one open the aps that I use the most and I always have open. I started with Firefox which alway, always spikes up the "Kernel_task" to over 3GB of real memore. I removed all extension and so far so good. Then I started a combination of apps like firefox and iTunes, safari and the app store, Safari and iMovie.. you get the idea. I did this only with the apps that I use daily and I found it by having only opened pages. That's right, PAGES!. As soo as I would start using pages I saw that **** com.apple.MediaLibraryService come up to over 1GB of real memory usage, and I only notice becuse pages would just get really slow.

So I shot down pages and I had others stuff open and running with no issue. As soon as I opened pages again, there it was.


To Test my theory, I fired up Pages '09 version 4.3 without a hitch. the MediaLibraryService didn't show up at all and pages was as speedy as i've knonw it to be. So in my particluar case, it seems that the new pages has a memory leak and mismanagement for media.


If anybody finds a fix, let me know, but for now I guess I'll go back to using the old pages which I liked much better anyway.

Feb 6, 2014 9:23 AM in response to JupaMan

Thanks "JupaMan" for your insights... I did something similar. But I installed the 5.0.1 (previous) version. It is working fine until now. No "MediaLibraryService" process bothering and the computer is running well.

My advice to anyone who's having this problem is to re-install the older version (could be Pages '09) and discard this one and wait for a new release. Let's hope they fix it soon.

One more thing... in case you haven't notice... Pages (and all apps) will automatically "update" unless you go to system preferences > app store and UNCHECK the "Download newly available downloads in the background" box AND "install app updates". This way you will prevent the computer from updating automatically the Pages 5.0.1 to the unfunctional 5.1.

And please, please... REPORT to: http://www.apple.com/feedback/pages.html

The more we do the faster they will fix it.

Thanks.

Feb 6, 2014 10:58 AM in response to John McDonough

All,


I know this thread is marked as solved, but I still follow it. I have checked all iWork apps (Keynote, Pages, Numbers) and find the same behavior as I indicated earlier in this thread: the "com.apple.MediaLibraryService" service runs wild whenever these apps are in use.


Please note that com.apple.MediaLibraryService is not just specific to Pages, or any one app in particular. This occurs for iTunes as well (for which I too recommended a workaround). Why? Any app (usually Apple's) which has the ability to insert/share photos, music, movies, etc. from Aperture or iPhoto causes the service to appear.


Hopefully the service's memory leak is fixed in the next OS update.


One question for those following this thread: do you have your photo library stored locally on your Mac, on an external drive, or network drive?


Feb 6, 2014 2:07 PM in response to tim_r_66

@tim_r_66 Thanks.


Anyone else?


Just trying to narrow down if this plays any role in the issue with the service eating RAM. I have tested networked and external HDD and have the issue under both. I have not tested locally as of yet. As others have pointed out, please exercise care in downgrading your iWork apps as the newer versions update documents you open - you may have trouble opening these later in the downgraded app.


To all: I did file a bug report under Mac OS X, not Pages, as the issue is not isolated to Pages.

Feb 9, 2014 11:47 AM in response to John McDonough

Same problem here, only on my MacPro it was taking 9 gb out of the 48 gb installed. At the moment I have Aperture, and a number of other programs open. One was Pages. As soon as I closed it the MediaLibraryService disappeared. So Aperture is apparently not the culprit and Pages definitely is. The odd thing is that I have a MacBookPro also, but it doesn't appear in Activity Monitor there. I could care less about the stupid sharing business and don't use it on any device anyway. I don't like ITune either.

RE: location of photo library mine is on an external firewire drive, and on the other computer on an internal RAID array.


I agree that Apple has to deal with this ASAP.

Feb 10, 2014 1:21 AM in response to John McDonough

On my systems, everything is local. If it comes down to it I might just archive my iphoto library until they fix the memory leak. I'd rather have pages work than iPhoto, which I use sparingly anyway.


Interestingly, it seems to me like it might be linked to the actual file size of your media library. I happened to have reformatted my macbook pro early 2008 and have no lag with using the newest version of pages on there (linked to the same icloud documents obviously), however on my new core i7 mac mini the latest iteration stutters along whenever typing. The size of my iphoto library on my mini is ~58gb, and I haven't used iphoto on the macbook pro yet, so its size is basically zero. My itunes lib is ~475gb. iTunes lib on the macbook is roughly ~5gb.



On Mac Mini

When running iTunes, the com.apple.MediaLibraryService runs as a process in additon to the one running for pages. The iTunes process has a virtual mem size of 2.56gb and a real memory size of 107.9mb.

The pages version of the process (running when only pages is running) is using 4.12gb of virual memory and 356.6 mb of real memory and is the second memory usage process from the largest behind pages itself and kernel_task.


Given that the macbook pro isn't nearly as fast and has half the ram of my mac mini, you would imagine that pages should fly on the mac mini but it seems as if the size of the library seems to be slowing it down considerably.


I'll be adding it to the pages feedback as well. Just thought it might help, if you happen to have a big media library that could be the cause of the issue.

What is com.apple.MediaLibraryService?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.