Apple Event: May 7th at 7 am PT

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

iTunes (10.4.0.80) on Windows 7 memory leak

I leave my computer on 24/7 and iTunes is usually running the entire time also. Every few days or once in a while I'll get messages such as 'iTunes cannot save Library/Not enough memory available'.



User uploaded file

User uploaded file


The only solution I have right now is restarting the program every few days. Any suggestions? My computer is always kept up-to-date with the latest Windows Updates. Microsoft Security Essentials detects no viruses or malicious files. As of the latest few updates I started getting these errors, sorry I don't know exactly when this started happening.

Windows 7

Posted on Aug 21, 2011 6:17 PM

Reply
32 replies

Apr 15, 2012 6:51 AM in response to DrTomBlinn

@DrTomBlinn


I'm also experiencing the same problem with iTunes, v 10.6.1.7 on Windows 7 64-bit. Over a few hours my iTunes.exe process (which starts at around 70 Mb) grows to over 500 Mb and continues to grow.


The issue appears to be even worse (i.e. memory consumption grows more rapidly) when playing random songs from the whole library.


Some (unscientific) testing leads me to believe that the problem is related to the grid of album art cover - which is refreshed every time the next shuffled song is displayed. If I am viewing "Library -> Music" and click next repeatedly, I can watch the memory footprint grow in task manager each time I click.


If I then click Library -> Apps (i.e. a screen which is not constantly changing with each next track) I can happily click next repeatedly (to play the next song) and the memory footprint behaves what I would call normally (small changes up and down).


Hopefully this will help someone at Apple to look into the problem a little more...

Apr 21, 2012 10:02 AM in response to Community User

@ChrisKeeble


You may be onto something about the "random" playing as a factor. I'm not sure about the album art, since I do not have any album art being displayed, and my iTunes still grows until it hits Windows' process limits.


It does appear to be related to the transition from one song to the next; I can see in Task Manager that when iTunes goes from one song to the next, there is a burst of paging, and an increase in private memory size. When iTunes is paused (I have a convenient pause/resume button on my keyboard), it doesn't grow memory size, but if I let it just run, it fails after a few days.


I would be really nice if someone from Apple were paying attention to this problem, as it seems to have been around for a while now, and it negatively impacts the perceived quality of the software. My other Windows apps don't fail in this way.


Tom

May 17, 2012 1:09 AM in response to gotchay

Was able to duplicate this with 10.6.1.7 on windows 7. Have a fresh install as of today with very little on here for the record. I only got it up to 500MB and then closed it out.


Used the logitec keyboard to spam skip/previous songs with my 7.2 day playlist and was able to accumulate about 5MB of memory leakage per day on average. I have very little album art installed since I just transferred everything over from my laptop, so this could be the reason it is so low compared to the others if the theory involving album art is correct.


Once, and only once, did ITunes manage to figure out what was going on and drop the usage from just over 60 MB back down to 25 or so (which is where it seems to start). This was after I switch it over to random playback to reproduce the results. After that lucid moment passed the memory leaked away as usual.


Does anyone have any average numbers for their leaks? With/Without album art?




My next question is *** does apple do with all that personal information they tried to get from me just now when I made my account? Apple, Facebook, Google... I feel like I'm being mined for bitcoins...

Jul 15, 2012 8:02 AM in response to InflatableMouse

I am only guessing, but my guess would be that a sufficiently older version of iTunes might be unwilling or unable to communicate with some newer devices, like the iPad 3. Was the iPad 3 released before or after the release of iTunes 10.3 (I have no idea, nor am I sure where you'd look to figure this out)? If iTunes 10.3 was before iPad 3 got released, then it may well simply not have the ability to talk to an iPad 3.

Jul 23, 2012 9:43 PM in response to gotchay

I have the same issue as you all do, Itunes 64 bit on 64 Bit Windows 7, version 10.6.3.25. Deleting old songs really kicks the memory usage through the roof. I have a bunch of songs that Itunes cant find due to moving stuff around on my hard drive, so in going through and deleting these entries, I can get to over 1 gb of ram usage for Itunes.exe within about 15 minutes! Serious issue that has been going on far too long.

Aug 17, 2012 12:28 AM in response to gotchay

Similar problem here, with an additional problem.


Similar: a popup that says "iTunes cannot save these items to Library. There is not enough memory available. Download your purchases now." Taslmanager reveals that only 15% of 32 GB memory is used by only 99 running Windows 7 Professional processes. iTunes flakes and flops about with between 20,000 and 120,000 bytes (very unstable application, but well under a 2 GB on any single process.


Additional: user Library attack originating and ending in open iTunes Player. This attack occurs frequently, every 2 weeks to 2 months. The atack results the above popup, but also four more specific and significant attack features.

Currently we (Apple Support and I) are maintaining my Libvrary as ONLY Purchased AAC files.


1. The system data during attack indicates no problem with memory whatsoever. So we must assume the popup denoting memory failure is a component of attack. It must be clicked to be closed. When it is clsoed, The player display flickers, and significant changes ocur within the Library.

2. One or more files have their Purchased Date information removed.

3. Files with Purchased Date information removed are converted to a format not currently engaged in Preferences Import Settings. For example, we have set imports to AAC. The attacker has converted the effected file to Apple Lossless format.

4. iTunes Player bottom panel opens and natively requests user to confgure and access available downloads. From experience, there is nothing to download, but the machine (s) performing the attack are waiting for Apple login credentials. DIE wishing, suckers. No more!


Apple has been aware of this security leak for many months, and no iTunes Player update has addressed this security leak. Absolutely obvious that persons are gaining access to my Player and its music file contents. Apple is going nowhere, if not backwards, in finding and applying the fix. Or, is Apple happy with a current "FIX"?


Oh yes, frequent need here to repurchase songs stolen from Apple due to sloppy Apple security. I use my Apple Care contract to redownload what I have paid for, without cost. However, imagine all those victims without Apple Care! $cam, or what! How many files have you re[urchased this week, dear reader?


Would we not be even sadder to learn that Apple has not a CLUE what is going down with this blatant scam? Is that attack login (remember that configure and download panel popping open) already scamming a bogus purchase and download website, distributing our Apple content to countless users? Likely, or at the very least, possible.


These scenarios always bring out the dark side of human nature. Whose side are you on? A hiney clean Apple, or something devious, somewhere.

Oct 17, 2012 9:33 PM in response to DrTomBlinn

I have the same issue and I can replicate it. Everytime I click on a song, Genius loads the iTunes sidebar with suggestions. The memory used by these suggestions never gets recycled after clicking on another song. It stock piles up after each click. My itunes uses around 4-5 mbs of memory for every genius sidebar list. If I "hide" the sidebar, it no longer adds to my memory usage. It does not decrease either.


Does anyone else have their memory page file disabled?

*UPDATE* I enabled my 32gb page file, but it did not help. I was able to crash itunes at 920mbs of memory used within 5 minutes by just pressing the down arrow through my collection and letting the genius bar load for each song.

Oct 22, 2012 4:40 PM in response to gotchay

I've been experiencing this problem for years. I finally decided to "fix" it today. Apple's not going to solve the problem, so I developed a work-around:


Scheduled task to run a batch file each day that does the following:


"C:\Program Files\PSTools\pskill" itunes

start "" "C:\Program Files\iTunes\iTunes.exe" /B

"C:\Program Files\iTunes\scripts\PlayPlaylist" "iTunes DJ"


So, it will leak memory for 24 hours, but won't cause a problem for my server.


Needed to download PSTools and some scripts (from http://www.maximized.com/freeware/ScriptsForiTunes/)

Jan 6, 2013 3:29 AM in response to rvdmost

My reason for coming onto the site was to look for answers to why my memory is suddenly getting eaten up SINCE installing itunes 11. some people say its fixed their memory leak, but for me its started


but i see coverview was believed to have caused the memory getting eaten up


well, if users now on 11 are using just the SONGS view, with no pictures, maybe thats why no longer a leak


in my case i never used coverflow,before, but now mainly use the ARTISTS view, which contains a lot more artwork on the screen than my old view, so im guessing thats why im getting problems


i currently have 6gb ram i on windows 7 64bit when i start itunes with no other applications running, it shows memory used at 1.48gb. . i have approx 20gb of music in itunes

it takes about 6 hours for it to take up all my free memory and give the warning message.


i did spot the ability to resize the artwork for each album (it was set by default to max) so im going to reduce to half and see if it extends the time it takes to use up memory


im no it expert, so any extra help would be great, but a pity APPLE doesnt sort this as its been running for YEARS from what i can see.


other than the memory issue I actually quite like the new layout options, ARTIST view works best for me (but why have they removed the option to jump to next track when in editing tracks ? can only do that in SONGS now.......could easily be added to all views)


failing a fix ill just have to stick in 2gb extra memory, so at least i shouldnt get the memory maximum within a normal 'listening day',


from what i have experienced, if you do get the maximum memory warning, closing itunes will not free up the memory taken up by itunes, only a full shut down. but if i close itunes BEFORE the maximum warning, my memory slowly slowly slowly gets freed up (as long as i dont reopen itunes !!)

Feb 13, 2013 7:35 AM in response to ridware

Hi All,


After all the issues I had with iTunes on Windows I finaly decided to buy a Macbook. I moved my music library (140GB) via iMatch to the Macbook to makes sure I was not importing any s..t from the library on my Windows pc.


I was and still am astonished about the performance and ease everything goes. No errors, even no missing Artwork. I can play for days if need be without any memory problem. I also had issues with Airplay which I use a lot, they are gone as well. Recently I purchased Apple TV and it worked out of the box.


Of course it’s stupid just for the satisfaction of Apple (iTunes) to make this switch, but I had problems managing my big photo library (600GB) in Adobe Lightroom as well. I keep my photos in Canon RAW format and they have an average size of 25 to 30MB each. On Windows searching or browsing took forever. That problem is also over as browsing is now so fast my eyes can’t keep track of it.

So whoever had ideas about making the move I can recommend it, if not to solve these stupid issues than for their blood pressure. It cost a lot as Mac’s don’t come cheap but if you can afford it it’s worth the money.


Cheers Rob

iTunes (10.4.0.80) on Windows 7 memory leak

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