apple music memory leak

I've just upgraded to Catalina and started using apple music. Even while idle (aside from "loading artwork" which I'm guessing is a result of switching from iTunes to apple music) I'm seeing the RAM constantly increase. I just checked the performance monitor and sae apple music using 86GB! I've restarted the application and I'm monitoring now and can see it constantly rising.

Posted on Oct 8, 2019 7:44 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 8, 2019 1:15 PM

It does seem like the album artwork sync was the issue. I ended up deleting a 4GB folder of "album artwork" from my iTunes folder. This retained all artwork that was embedded in music files but I've lost a lot of other artwork which I'll just have to reimport. I can say though that since deleting this folder the sync notification has gone and iTunes now doesn't use more than about 1.6GB of RAM.

123 replies

Oct 10, 2019 10:47 AM in response to issueskid

Plus 1 with this issue. Made even more annoying by being taken through my mac by apple support with restarts etc. I ended the call as I was told to “leave it for a while as the music library will take a while to synch”. How can they release a replacement for iTunes that had a reputation for being sluggish with this. Currently at 19gb of ram and climbing. Any pointers would be appreciated. Disabled the artwork option. Also tried to add another album to see if it WAS syncing but the new files are not in the library on my other devices. I’m also using iTunes Match or whatever it’s called now.

Oct 12, 2019 12:19 PM in response to MarkFreedmanNY

This is a useful piece of information. I have a very large iTunes library and it and the media have been on a separate hard drive. Based on Wampinators response, I checked and the iTunes library hasn't been modified since i "upgraded" to Catalina. Turns out Music created a new Music folder and "Music" library on my mini mac and the Music app has been accessing that instead of the iTunes library. I tried to force it to access the iTunes library and it just went ahead and created a new Music1 library on my hard drive. Not sure what it all means at this point but the music app now says it is loading artwork so I'm going to have to wait and see and will provide an update.

Oct 12, 2019 3:11 PM in response to number6mi

ok, so by opening iTunes and selecting my old iTunes library file, it created a new Music library file i assume converting the old iTunes library file and as of now it seems to be slowly but surely loading my artwork. My iTunes library is huge so i'm not surprise that the will take a while but the difference is it seems to be doing something positive now; before it was dead. I'll provide another update tomorrow...

Oct 19, 2019 7:16 AM in response to jannefromswe

jannefromswe wrote:

I moved the album artwork folder. Approximately 90% of albums now have artwork.
When I manually try to add the missing 10%, I find out you can't manually change artwork anymore? Or am I missing something?

Manually adding artwork is the same as iTunes. Assuming you have the relevant album artwork, Select the album (right click)/get info/select edit items/artwork tab, then drag the artwork into the window and click done.

Oct 19, 2019 7:34 AM in response to jannefromswe

Something has changed in the way artwork is changed. Some artworks seem locked down. If you get the get info window open and move to the artwork tab and just try to grab the photo an move it, some artwork will start to move and some won't. The ones that don't move are locked somehow. You can't just cut and paste it right back in. The ones that move a bit will cut and past. If the artwork is missing and you can move it, must cut it and paste it right back. Music will go ahead and re-embed the artwork in the files. If it doesn't move, the only thing you can do is cut it, find another picture of the right kind, and paste it back in. I think it has something to do with when Apple uses proprietary artwork for the album artwork. They won't let you copy it directly.

Oct 20, 2019 2:51 AM in response to Pete Marchant

Pete Marchant wrote:

this sounds interesting. Can you expand on what you mean by ‘old iTunes files’ in ‘Music’? I have all set my music to live in in the ‘Media’ file. I’m not seeing anything specifically that I could identify as ‘old’. I have a folder called ‘previous iTunes libraries’ that lives at the top level within iTunes - do you mean this?
for info: 382GB of files, 22,250songs. Library lives on external 4Tb hard drive. No messages about updating artwork but my late 2012 Mac mini has crashed several times since installing Catalina and Music seems to have been the problem each time. Activity Monitor shows memory for Music is currently running flat at 16GB - way too high. Haven’t deleted artwork folder - yet.

Ignoring the missing artwork, will your files play ok? If so then the music app is "seeing your library". Try deleting the artwork folder that should solve the issue. Theres confusion about the actual library (where the physical files are) and the library files (which are the sort of things that end up in the "previous iTunes library" folder. These files are the playlists and play counts and the files are minute but you need then for the library to work. Basically, the "new" music app is a chunk of iTunes from what I can tell. This is probably where youre seeing the "old iTunes" remarks as the files and folders look the same. All theyve done is dumb it all down for the phone generation that cant work out why a film is in an app with a musical note on it. I have a feeling the artwork is being accessed and stored somewhere else on the mac but the music app is still being partially pointed toward the old artwork folder and perhaps comparing the 2 which is where the memory leak is hammering the ram as it gets into a perpetual loop. Some people reported a large loss of music artwork when removing the folder. I lost a handful of artwork which may not even have been there in the first place. Clearly the music app in not ready for the public due to the number of variable results from users. None of my friends have any issues at all with music so its definitely larger libraries that are effected. In my tech support call to apple, they suggested apple music which speaks volumes to me. They dont want you to manage all your music, they want you to pay apple £10 per month for them to manage it.

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.

apple music memory leak

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