iTunes Extremely Slow with large library

I recently inherited a huge amount of music (36,000 tracks/211 gigs) which I keep on a Time Capsule as an external drive connect to an Airport Express which I use as a bridge to my home stereo. iTunes is pointed to the TC as the music source and there is no music content on my Macbook's HD, only the iTunes library itself and the cover art. I believe I have the standard RAM (black Macbook, purchased June 2007, which I think is 1gig).

iTunes is not extremely slow in cover flow, I get constant spinning balls and it takes quite a while for the program to close. Do I need more RAM (I think there is a 2gig max for my Macbook)? Is 36,000 tracks more than iTunes was designed to handle? Any chance storing the content on an external drive via WiFi affects the iTunes library response?

Macbook, Mac OS X (10.4.11)

Posted on Mar 31, 2008 7:18 AM

Reply
7 replies

Mar 31, 2008 8:16 AM in response to theblackhand

Can't answer your question definitively--but here's what I've observed re: my 35,000+ library. First, I have 3 gbs. of memory (Windows machine however) on the computer I store my library on. All of my music is internal (I had a major external hard drive failure a few years ago--so I'll probably never go external with my music again. Internal music does load faster than external in my experience.)

I share my library with other computers in my house: a Windows Vista laptop with 4 gbs. of memory, an Apple Leopard MacBook Pro laptop with 4 gbs. of memory, and wirelessly via a Linksys music bridge to my stereo system.

To load this huge library on each of the laptops does take an unbelievably long amount of time. I've never figured out how much but--it's well over two minutes. I usually start the loading of the shared library process and do something else for awhile until iTunes is ready to go. I don't think RAM will help the library load faster.

More RAM will definitely help your coverflow problem, however.

I don't think 36,000 songs is too big for iTunes. The computer simply has to process the huge library--and that takes time. (FYI--I have itunes set to load on startup on my desktop system. It's a Windows system...so that adds boot time compared to the Apple OS....but my bootup takes a very long time (maybe iTunes is a piece of the problem?). I'm always amazed by how quickly my son can boot his MacBook Pro--basically he just turns it on. He still has to wait for the shared library to load, however.

Does any of this first-hand experience help?

Mar 31, 2008 8:27 AM in response to samdogmom

Thanks. It is helpful. May add more ram just to deal with the coverflow issue and I may walk down the street to the Apple Store for a chat at the Genius Bar to see if they have any further insight. I thought adding an Apple TV to the Time Capsule via ethernet might speed things up and then use my TV to view covers and access music but if ATV has to use my iTunes program on my Macbook I don't see how it would speed things up.

Apr 2, 2008 11:49 AM in response to theblackhand

I have experienced the same problem with a new MBP (4Gb RAM); I have the itunes library file (database) on the laptop and about 90 Gb of data files on a time capsule. It was running quite well until recently, but for some reason, I have started to get constant spinning beachballs. the program is often hardly usable. Clearly not an issue with transfer speed or RAM; there is some very frustrating bug here.

Apr 4, 2008 8:02 AM in response to bbmac

I haven't had experience with newer Intel macs with this issue, so I'm a bit hesitant to try to answer, but here goes. This may not at ALL apply to what you're dealing with.

The problem of incredibly slow behavior with large libraries in iTunes has been an issue since at LEAST 7.0 if not much earlier. I have over 130,000 tracks in my library, stored on a WD 1TB studio drive connected to my "home media server - a G4 Cube" via firewire and shared over ethernet to 3 macs. Do a search for "slow large library" in these forums and you will see NUMEROUS threads all complaining about various issues people seem to have when the number of tracks gets into the tens of thousands, much less over 100k.

In any case, there are some things I've found that seem to help:

1. Keep the actual library (database) files on boot drive. IF you have the music files on a separate drive, it helps to keep the iTunes Library folder on the internal drive with the coverart where it can be accessed faster. This is the database (xml) file that iTunes loads and saves when changes are made to the tags or tracks.

2. Also, if you've not got a lot of playlists to worry about saving (i don't use playlists much, just play cds out of the browser mostly, or have some smart playlists).. it helps to rebuild the iTunes library from scratch at some point. I have no reason to believe this, but I assume it creates a new optimized database this way. (maybe someone can correct me on this... after say months of retagging tracks, playing music, creating and deleting playlists etc... does the database end up 'messier' OR does it correctly rewrite everything and optimize constantly or when you quit itunes?) What I DO know is that if you shorten the path to the music, it will be a smaller file. So don't make it "My Firewire Drive/Music Files/iTunes Files/CDs and MP3s/By Artists/*" this gets written as the path for EACH track in the library file that it then needs to load. Make it "Music/Artists/*" or something as short as you can. Then, what I did was to set iTunes to NOT copy music to the library folder, and starting with a blank iTunes dragged the icon of my shared music folder containing all the mp3 files into the iTunes window. It took overnight and the better part of the next day to read in all 130k files, copy the embedded coverart to the local folder, and the longest part, "determining gapless playback" --which i wish they'd give us a way to disable, takes forever! and i dont' use it (if anyone knows how to stop gapless scanning on a mac, let us know)... but fortunately you only have to do this once.

3. More RAM. My main computer is an MDD Dual 1ghz G4. Until about a month ago I had a gig of ram, then I finally got around to upgrading to 2 gigs. It DEFINATELY made a big difference. Where before I'd see the rainbow ball for 30 seconds whenever I made playlists or changes to tags.. now I often don't see it at all, or certainly much less.

I read not long ago an article talking about WHY iTunes was so bad at scaling up for larger libraries. The author suggested it was due to the library being saved out in an XML database and that unless Apple changes its backend to iTunes, it will not be possible to squeeze much more performance out of it. This probably makes it useless for DJs, radio stations, classical music lovers or anyone with large collections of music with many tracks. I assumed that at some point we'd see Apple rewrite iTunes to take advantage of the SQL database in the OS level, but who knows. I really don't think I understand database stuff at this level.

**Finally... I HAVE noticed that recently it has seemed to be getting more responsive. On one of my other machines (an iMac 800mhz g4!) running iTunes used to be a frustrating proposition with constant spinning beachballs and hangs before it let you pick music or change tracks. Now its actually usable. I don't know when this got 'better' but I think with either 7.6, 7.6.1 or 7.6.2 they have done something to make it more responsive. At least in my experience. So thats a good development.

But seriously.. do a search thru the forums and you'll find a lot more about this problem with large libraries.

Goodluck.

Jun 18, 2008 8:55 AM in response to theblackhand

I have exactly the same issue reported here, with a large library of nearly 1TB - including my movies, songs and TV shows.

I have really tried everything including an iDefrag, upgrading RAM and moving to a local drive.

The issue is really magnified if you use Front Row too.

Only thing I have been able to find after extensively researching this, is that with the latest version of iTunes running on Leopard there is an inherent issue reported on the net with large libaries, so only option seems to be with Apple updating iTunes to fix.

In the meantime, I for one am starting to look at iTunes alternatives which is disappointing as it does everything I need.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iTunes Extremely Slow with large library

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