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.

Wasting Disk Space

Hi folks,


I've installed iCloud 5.0 on a Windows 8.1 /64Bit Maschine.

My goal is to have a copy of my Photos from three iOS Devices on my PC. Im using the iCloud Photolibrary not the Mediastream.


My photolibrary has an amount of 18GB.


Now my problem:


The folder "C:\Users\username\Appdata\Local\Apple Inc\CloudKit\iCloud Photos\MMCS has an amount of 145GB and counting.

Has anyone an idea what is going on?


Thanks a lot for any replies.

Udo

iCloud for PC 5.0-OTHER, Windows 10

Posted on Nov 19, 2015 1:51 PM

Reply
Question marked as Best reply

Posted on Nov 23, 2017 10:34 AM

Apple's iCloud Photo Library for Windows is seriously bugged, resulting in an unusable service.
Further findings:


As I wrote earlier in my (bug)report overhere : Re: Re: Re: Wasting Disk Space, I (like many more people) am experiencing huge issues using the Apple service 'iCloud Photo Library for Windows'.


To give a brief summary of my report:


  • When you use iCloud Photo Library on your iPhone or iPad and select 'Optimize iDevice Storage', ICPL saves thumbnails of your original sized photos on your iDevice. The original sized versions are stored in the iCloud. This makes it now impossible to backup those photos from your iDevice to your PC (Windows) by using an USB cable and transfer/import your local iDevice photos to your local harddisk on your PC. Because there are no fullsized photos anymore to transfer, only thumbnails. Apple offers the enduser an alternative way (and it should indeed!) to transfer/backup your original full sized photos (and videos) to your PC.

    By going to Windows Explorer, go to the iCloud Photos link (not the physical folder itself) and press the button [Download photos and videos] we can download all (or by year) our photos and videos that are residing in the iCloud.
  • And here (downloading our precious material from the iCloud locally to a Windows PC) the system fails on us. ICPL for Windows uses this folder to save it's large cache files: C:\Users\Username\AppData\Local\Apple Inc\CloudKit\iCloud Photos\MMCS. And in certain cases these cache files are not deleted during the download proces and even worse.... they are build up endlessly: resulting in our harddrives to become flooded with unnecessary files. At one point this caused my local C: (OS) drive to only have 55 MB left! And so ICPL could not download anything anymore from it's Cloud... since there was no space anymore for the cache files (or even your downloaded photos if they were on the same drive!)

    I needed to turn off ICPL for Windows in the end, so that my OS drive was safe from anymore wasted space.
    ICPL for Windows was unable to provide me with proper downloads of the years that contained the most photos in my iCloud Photo Library. So, after I initially happily converted both my iPhone and iPad to use iCloud Photo Library (it does work great on iOS), Apple makes it impossible for me to have a safe copy of those precious photos and videos on my Windows PC.


So. I decided to test it further, to see if I could find a workaround to finally have a proper local full-sized backup of all my iCloud photos on my Windows PC. TommyLux in this discussion above ( ℹ feature suggestion for this community software: please Apple... provide the users of your community software with a way to refer (url) to individual postings inside discussions) mentioned he used a so-called junction to trick the ICFW software to write it's cache files to another drive than your C: (OS) drive. So this is what I did:



- Disabled ICPL for Windows (via iCloud for Windows client),

- Created folder D:\iCloudPhotoLibraryTest,

- Renamed folder C:\Users\Username\AppData\Local\Apple Inc\CloudKit\iCloud Photos

to: C:\Users\Username\AppData\Local\Apple Inc\CloudKit\iCloud Photos_old,

- Opened the CMD prompt,

- Put this in: mklink /J "%LOCALAPPDATA%\Apple Inc\CloudKit\iCloud Photos" "D:\iCloudPhotoLibraryTest",
- Enable ICPL for Windows (via die iCloud for Windows client).



This way you trick the ICFW software that it thinks it is writing it's MMCS folder and cache files to C: , but in fact physically they are on D:


And this worked! When I enabled ICFW again and waited half an hr (for some ICFW preparation processes to finish), I was able to press the button [Download photos and videos] inside Windows Explorer again and I was able to download my photos by year (or all). ICFW created a new MMCS folder inside D:\iCloudPhotoLibraryTest and started to fill up that folder on my D:drive with cache files the moment I selected to download year 2007 (which is the first year that is available on my iCloud Library).


Great! This way I succesfully prevented my C: (OS)-drive to be filled up again by the cache flood that ICFW was generating before. I decided to open a Window on both

C:\Users\Username\AppData\Local\Apple Inc\CloudKit\iCloud Photos\MMCS and D:\iCloudPhotoLibraryTest\MMCS to visually monitor what was happeing with these cache files. Well... when I downloaded the following years:


- 2015 (290 photos, 1 video)

- 2014 (173 photos, 1 video)

- 2013 (228 photos, 11 videos)

- 2012 (3 photos)

- 2011 (1 photos)

- 2010 (3 photos)

- 2009 (2 photos)

- 2008 (2 photos)

- 2007 (1 photos)


... I could see that all the associated cache files in the MMCS folder were deleted immediately the moment after a photo or video was downloaded! (I made a video of it, for future reference). This is how it is supposed to work! Obviously.


If only it worked so flawlessly on every year.... because on the years 2016 and 2017 it unfortunately goes terribly wrong:


- 2017 (3.338 photos, 136 videos)

- 2016 (2.197 photos, 83 videos)


During downloading of the year 2016, at some point in the process the cache files are no longer deleted. As an example in my case: first... there are some 60 cache files present, which later become 146 files. In the end these files take up 17 GB (whereas the actual photos inside the whole 2016 year only consists of 12 GB physically). I notice that the ICFW client says at almost the end of the process: 8 items to download. And it stays there for a long time. I decided to leave the PC on the whole night... so 8 hrs later I return from sleep and ICFW says: everything downloaded at 04:54! Great (although... leaving your PC on the whole night for 8 items to finish should not be needed in the first place!). I check the MMCS folder and it still contains 174 (!!!) cache files that take up 20GB on my harddrive. (As I stated... the photos themselves from 2016 only take up 12 GB physically)


I decide to restart my PC. After booting up, the junction is still present (great, so it offers a workable workaround, you only have to set this once) and thankfully... the MMCS folder is empty! So all cache files are deleted after a PC reset.


So this is already an improvement over my previous situation where I did not use a junction to D: and all cache files were written to my C: (OS)-drive. Because then there was no space anymore left on my C: -drive to finish the download proces, because ICFW kept creating piles of cache files during the backup process that in itself could not be finished, because there was no space anymore for any more cache files on C: -drive. In that situation... even when I reset the PC, the MMCS files were first deleted and then rebuild all over again, flooding my C:-drive. It could never finish it's download job and went into an endless loop...


So now I had conquered that by making a junction to the D:-drive. Great.Unfortunately... then the year 2017 came. The year that contained the most photos.

During the first maybe 1000-1500 (I did not check/monitor it precisely) photos everything goes well... but after that suddenly the cache files do not get deleted anymore. At one point I have 67 GB ! build-up cache files, when in fact the photo's themselves take 12,4 GB physical space. As with the year 2016, this 2017 download process get's stuck at the end of it all. ICFW states that is has 27 items to download. This slowly goes down to 14 items. I leave my PC again on the whole night and the next morning the 14 items have been reduced to a whopping 13 items to download. 1 file in 1 night (8 hrs) !!! 😕😠

ICFW left me with only 9,3 GB free âš  on my D: -drive, the MMCS folder took up 147 GB âš  (!!!) in cache files! I had enough of this **** and I deactivated ICPL in ICFW. Doing this, it removes the MMCS folder (thankfully!). I activate it again and still ICFW states it needs to download 13 items. After a little while it states that all downloads are finished and it does not build up anymore cache.


I had done it! After days and days of struggling and finding a workable solution, the junction did the trick and putting ICPL off and on in ICPW at the very last stage of the download process helped it further.


However, after this journey I checked the endresults on the year 2016 and 2017 download folders:


- 2017: 3.338 photos, 136 videos in iCloud | 3.359 fotos, 122 videos in the download folder. (So, 21 photos more and 14 videos less it downloaded! Puzzling, puzzling, puzzling)

- 2016: 2.197 photos, 83 videos in iCloud | 2.207 photos, 564 videos in the download folder. (10 photos photos more than in the download folder... how come I can have more photos then the source contains? The huge amount of videos are mostly LIVE photos from my iPhone, which are saved as videos (logically) instead of photos.


So the numbers do not add up perfectly.

All in all this experience with Apple's iCloud Photolibrary for Windows has been extremely user-unfriendly. The opposite of what we expect from Apple.


Conclusion:


- In my previous posting I said: 'According to him the cache will be deleted automatically the moment ICPL for Windows has downloaded all the photos from your iCloud Photo Library to your PC'. This is not true I found out. It already deletes the specific cachefile the moment it has downloaded the specific photo/video. At least... in the beginning of a year download that is.

- In my previous posting I said: 'I asked him why on Earth the cache files take 22 GB away from my PC, whereas the 2016 folder is only like 11 GB large?! That is double the amount of cache for photo's that take only 11 GB in space! It does not make sense . He told me that ICPL does not look at which year you have downloaded already... it simply caches the complete iCloud Photo Library to your C: drive!'. This is also not true, as you can see when you have read my extensive posting above.



Obviously Apple's system is bugged:

  1. It seems that when you download a large (just more then a few hundred photos) photo collection, during downloading it does not delete the associated cachefiles anymore,
  2. It seems that at the end of a large download proces, ICFW keeps hanging on the last couple of photos and finds itself in an seemingly endless process of building up cache files and not downloading anything for an endless amount of hours.



All in all Apple's iCloud Photo Library for Windows is an unusable product/service and it is remarkable that apparently they know about these cache issues and do not provide the Windows userbase (which is huge) with a proper solution/service by now. Or does it only happen to a few customers/PC setups? Still... it does not work on mine and that of many other Apple customers.


I do love Apple on many levels, but this service/situation does not fall under that umbrella.


Please offer us a bugfix soon! I want/prefer to use Apple instead of Google for my photos, but this forces us to trust other solutions, unfortunately. Thank you very much,

79 replies

Sep 23, 2017 6:58 AM in response to ubuedel

same issue here. I Turned on icloud photo backup on my PC windows 10, and boom within hours all my HD drive space was gone.


Deleting the files just results in it filling up all over again. Have not been able to find a solution other then just turning off photo backup to PC, which kinda defeats the purpose. Cant believe this long and apple has no responded.

Sep 24, 2017 3:02 PM in response to bethbrownebooks

Well after some trial and error I managed to get it working. I noticed that the temp files being created were all the same size. So I opene d the files with VLC as i assumed they were videos. Once I knew which videos were causing those temp files I went on my phone and deleted them after I manually backed them up. I then deleted the whole iCloud photos on my PC. Disabled iCloud photo on my PC. Went into app local drive on PC and deleted all temp files including cs. Folder deactivated iCloud photo backup on PC and redownloaded everything minus this big videos that I removed from the phone. Been working fine since, but I have a feeling as soon as I have another video that is 2GB or larger the same will happen.

Oct 9, 2017 9:15 PM in response to ubuedel

Guess I'm the latest to have this issue. I turned off iCloud photos on the iCloud settings window, and it immediately cleared up the 350+GBs it was hogging just to store about 50GBs of pics and movies. I'll be stopping my 200GB iCloud storage, finding something else. I'll keep my iphone, I still like that very much, but I'm not using any Apple cloud services until they fix this. back to syncing and just taking photos off my phone onto my PC.

Unbelievable that Apple hasn't addressed this after two years, but typical.

Nov 10, 2017 7:13 AM in response to ubuedel

I have a major issue with this particular problem. Not only did it fill the hard drive and bring my computer down, but the data usage across my ISP has busted my data cap several months in a row. I have been charged $20-50 more per month and couldn't figure out what was using the data. I eventually created a script to delete the files to save the hard drive but I didn't realize this was all coming across my Internet connection. Where do I send an invoice for the extra costs this bug has caused me? (I am completely joking. I know Apple would never send a check for a problem they caused.) Anyway, goodbye iCloud and I am making my move to Android now.

Nov 13, 2017 7:17 PM in response to zmikic

One Drive makes a folder in the same Root Directory you are using called OneDrive Temp. https://onedrive.uservoice.com/forums/262982-onedrive/suggestions/11160693-move- the-onedrivetemp-folder

So if your data is on a secondary Drive such as D:\OneDrive your cache folder is on the D:\OneDriveTemp in a hidden file.

All Apple has to do is allow the relocation of the iCloud Drive Folder and also the Temp folder to a different disc.

And might I add when Apple fixes this problem of oversized AppData with iCloud for Windows they need to also add a bandwidth throttle.

Nov 18, 2017 2:13 PM in response to Tommylux

Hello Tom,


I am experiencing the exact same issues that everyone in this discussion has.


I have a C: -drive of only 75GB (and a D: -drive of 1 TB) and want to try the workaround you mentioned, to move the MMCS folder to D:


I had to create a junction point to re-locate the CloudKit\iCloud Photos\MMCS folder to v:

How do I accomplish this?


I used this command:


mklink /J "%LOCALAPPDATA%\Apple Inc\CloudKit\iCloud Photos\MMCS" "D:\iCloudPhotoLibraryTest"

"

... and that create the junction. BUT... when I reset my PC, the Windows iCloud App removes this junction and simply creates the MMCS folder again and starts to fill it up with all these temp cache files once again.


How can I create a junction that does not get deleted by this nagging iCloud for Windows app?


Thank you,

Nov 19, 2017 5:33 AM in response to Supergrovertje

Supergrovertje wrote:


How do I accomplish this?


I used this command:


mklink /J "%LOCALAPPDATA%\Apple Inc\CloudKit\iCloud Photos\MMCS" "D:\iCloudPhotoLibraryTest"

"

... and that create the junction. BUT... when I reset my PC, the Windows iCloud App removes this junction and simply creates the MMCS folder again and starts to fill it up with all these temp cache files once again.


How can I create a junction that does not get deleted by this nagging iCloud for Windows app?


I discovered that when I disable iCPL via the iCloud for Windows app and then delete the MMCS folder and then re-enable iCPL via the iCloud for Windows app, that this app/service then creates the MMCS folder again immediately.


So, instead of me creating a junction for the MMCS folder (that gets deleted anyway on a PC restart), I decided to create a junction for the [iCloud Photos] parent folder. Inside this folder is the MMCS folder located.


And this worked. Now when I switch of/on the iCPL in the iCloud for Win app, this [iCloud Photos] folder junction is not affected. Also it survices a PC reset! So the junction is active and stays put, but... I can't use it!


If I press [Photo and video download]-button on the iCloud-foto's quicklink in Win Explorer, it gives me the message that my Photolibrary is being prepared. But... it keeps giving me this message... so downloading my pics and vids from iCloud to my PC locally is STILL not possible this way!


What a frustrating service Apple has created for Windows users! Extremely userunfriendly... something not to be expected of a brand like Apple. 😠

Nov 19, 2017 12:17 PM in response to Supergrovertje

To quote myself:

And this worked. Now when I switch of/on the iCPL in the iCloud for Win app, this [iCloud Photos] folder junction is not affected. Also it survices a PC reset! So the junction is active and stays put, but... I can't use it!


If I press [Photo and video download]-button on the iCloud-foto's quicklink in Win Explorer, it gives me the message that my Photolibrary is being prepared. But... it keeps giving me this message... so downloading my pics and vids from iCloud to my PC locally is STILL not possible this way!


What a frustrating service Apple has created for Windows users! Extremely userunfriendly... something not to be expected of a brand like Apple.


Well... I think I simply needed to wait longer for iCloud FotoLib for Windows to prepare itself. Because I found out later that this process takes in fact a while (could be an hr), so I did not give myself enough time to discover that this junction actually might have worked as a workaround for Apple's flawed system.


However! I have *very* good news! ..... see my next post:

Nov 27, 2017 9:46 AM in response to Supergrovertje

(Since Apple's community software does not offer permalinks for individual postings in a thread, I make this post so I can refer in the future to the extensive posting above this one. The community software creates a 'in response to x' which contains a permalink, so we can use that. God... it feels like 2001 😕. Apple, where is your excellent UI/UX in your community software?!)

Dec 19, 2017 5:44 AM in response to LACAllen

Hello All. I’ve had same issue. I’m no expert so I just keep poking around. Hard drive filling with those temp files


When I opened iCloud my settings were to sync all my photos.


Finally I clicked on iCloud Photos then downloads and the settings dialogue box popped up itself and the photos were not set to sync. The settings didn’t match what iCloud was set to. I changed the settings to match what I put into the iCloud and the temp files vanished and stopped downloading. Problem seems solved.


Please excuse my lack of tech knowledge but it seems there is two ‘settings’ in different places for the same function.


Very odd. But mine is fixed. Good luck.

Jan 8, 2018 9:23 PM in response to ubuedel

I have /had the same problem

The first solution was in icloud manager in windows disable the photo option. (this is supposed to be the fix)

Then inside I selected folders in another drive where to store the folders in another drive (my c drive is ssd and has very limited space).

Then deactivate the photos again.


That worked for a while - I have recently changed iphone's and I also started using icloud music... so for some reason the tempfiles were back... but all I had to do is reselect the folders I created prior and the space cleared right up.


I can't say its going to work forever, but that cleared my space in my c drive.

Jan 10, 2018 10:14 PM in response to ubuedel

I just have no words, Apple...

You have such a huge and OLD (this topic was started more than 2(!!!) years ago) problem and STIL HAVE NO SOLUTION?!

Are you kidding me?!

My wife have 200GB space on icloud drive, her photolibrary is about 190GB, my harddrive is 1TB. Yesterday I wanted to download her photolibrary and upload it to my onedrive just to free space on icloud drive. What can I see now? I see almost 300GB (!!!) internet trafic, almost 300GB tmp files in MMCS folder and ONLY 7GB OF DOWNLOADED PHOTOS!!! 7GB OF PHOTOS and 300GB TRAFIC!!! Are you feeling good, Apple?!?!

My PC is Windows 10 and iCloud client is 7.1

Wasting Disk Space

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