iTunes keeps losing its library I'm running OSX Mavericks 10.9.2 and iTunes 11.1.5 on a 2012 Macbook Air. My iTunes library is, due to its size, stored on an external drive which is connected to my Time Capsule.

The problem is that every time I close iTunes (and sometimes even when I haven't closed it) the computer appears to forget where the library is stored. Sometimes it will revert to the default location on my SSD, but most of the time it just goes blank, with no file location stored at all.

It's easy enough to re-set iTunes so it can find its library again, but given the library's size it's rather time-consuming for the computer to scroll through everything and tag its file address. And I might end up having to do that every couple of hours while iTunes is running.

I've already ruled out the strength of my wifi connection as a possible cause. Has anyone else ever heard of this? If so, how did you resolve it?

Thanks in advance...  :-)
Mavericks has a new external-hard-disk power management system in place which would turn off the hard-disk (only concerns external drives) if it's not used for a certain amount of time. 

I suspect this is what's causing the lag rather than iTunes forgetting the location of the library.