Skip to main content
jamesr33423836
Participating Frequently
October 19, 2015

P: Video Cache is out of control

  • October 19, 2015
  • 148 replies
  • 3139 views

I recently upgraded to Lightroom 6.2.1 So far there has been a lot of fuss over the import dialog... ok, well sure, it has a few issues, but they can be either worked around or just revert back to 6.1.1

I would like to report and ACTUAL bug in 6.2.1

My D drive recently ran out of space... I tried deleting some stuff I didn't need, but still it kept running out of space... So I finally ran windirstat and had a look at it.. Nearly HALF of my drive was FULL of D:/temp/Adobe Local/Lightroom/caches/video/media Cache Files. Now here's the kicker... NONE of these video files are even on the hard drive that has my catalog on it. My lightroom database is on drive L:\ all my lightroom photos and very few lightroom videos are all on L:\ I have a few scans on drive K:\ that I import to lightroom... but these videos are ALL on Drives E:\ and F:\

here's another thing.. I knew Adobe wasted space caching videos, and I do have a GOPRO and I record a little video,.. .VERY LITTLE, maybe 1 video a year... so I don't really want ANY of the video cached.. I will wait for it to load... SO a long time ago, I set my video cache in Preferences>File Handling to the minimum of 1GB (It's was always a BUG to not allow 0GB) I don't want to cache any videos!!!!!!!!!! but here it is.. NEW BUG It's STILL SET TO 1GB!!!!!!!!!!! How is it gobbling up almost 1TB of space when I have it set to 1GB??????????????? So.... here's another problem... I have Cache files that are 4GB for a movie that only takes up 2GB on my hard drive.. what's up with THAT??????????????? I randomly checked a few, and the worst one was a 5GB cache file for a movie that only takes up 750MB on my hard drive... two things, first of all... you NEVER EVER EVER need to cache an entire movie... caching more than 1 minute of a video is useless... if you're going to watch the video in lightroom, it can just play the video on the hard drive fast enough that it doesn't need further caching.. second... DON'T CACHE THE VIDEO AT ALL!!!! just capture the thumbnail of it so you don't have a blank square on the catalog and call it a day... if someone wants to play the video, it will load and play plenty fast enough, Lightroom Can't work with video files, only play them, so WHY BOTHER TO CACHE THE WHOLE THING?? come on Adobe, some COMMON SENSE please!!!!

so now ANOTHER BUG, it's already set to limit video cache to 1GB, so I figure, the new import thing must have built this RIDICULOUS Cache, so I will just Purge it, that will bring it down to 1GB right??/ WRONG!!! It pops up a message saying "Video cache is being purged, this message will be dismissed when the purge is finished... I wait 5 Seconds, and the message disappears, I have NO hard drive activity, and well... I STILL have 1GB of Video Cache files!!!!!!!!!!! Ok, maybe it didn't take.. let me set it to 2GB, then purge.. NOPE! let me set it back to 1GB then purge, NOPE..

ok, so I suspect how to fix it will be, (I Hope) click import, and select the movies folder and then select Ignore source... by the way, how do I add my E:\scans folder as a legitimate source.. I just removed a source, how do I add a nice shortcut button for a new one? ok, now that source is removed, I hope it won't scan it again... now that it will HOPEFULLY not scan that hard drive again, I'll manually delete the offending Video cache.. ok manual delete complete, Ahh my drive can breathe again.. Lets open light room and see what happens.... ok.. open.. lets open the Import dialog because eventually I'll need to import something... oh-o..... What's this??? Scanning Common Locations... OH-NO!!!!!!!!!! first of all E:\Moves and F:\TV are NOT COMMON LOCATIONS FOR PHOTOS Second, I REMOVED THOSE LOCATIONS.. It has a valid location listed, WHY IS IS LOOKING FOR SOMEWHERE ELSE????? Yes it's now scanning VIDEOS and the only reason for it to be taking so long is it went back to my E and F drive... lets look at the cache folder... oh yes, MediaCache already has 3,876 files in it.... not looking very good. Why is it caching files that are not even imported into lightroom??? and why is the cache for each file taking up more space than the entire video??? If you want to make a video cache.. just cache the THUMBNAIL ONLY!!!!! we don't need or want anything else cached.. a thumbnail is all we need cached for our few relevant videos so we don't have a black square in our catalog.

Crap, I'm going to be FORCED to revert to 6.1.1 even though I had every intention of working around the other 6.2.1 issues. TEST TEST TEST Test your software!!! the monkeys you have testing it are not doing a good enough job! send it to me, I'll test it for you, It needs to be tested on a real computer, one that is used for other things.. that way you would KNOW it's finding stupid things like CD cover art and every movie and tv show on my hard drive. I seem to find glaringly obvious issues within one day of using the product. I've been developing software for the last 28 years, I know how it should be done, and how things should be tested, and this is NOT being done AT ALL. Your programmers are sub-standard and are missing the mark, and your non-existent SQA department is NOT testing even the simplest of functions.

This topic has been closed for replies.

148 replies

Inspiring
February 6, 2016
Hi Robert, yes that's what I'm doing. Trashing over 200 GB takes a while. I'm only about 1/2 way through the deletion task. Meanwhile I'm investigating how to set up the OS X Automator application to auto-delete any file older that one day in the "Media Cache Files" directory. While this issue has been raised in a handful of threads on the community support forums and here, the work around recommendations to change an .exe file is Windows-specific. Not helpful at all to the Mac user base. If I manage to set up the OS X Automator successfully, I will try to remember to post a how-to here.
Known Participant
February 5, 2016
Does the "read only" trick preserve the ability to view videos in LR?

I haven't had a chance to try it, but I'm guessing that it doesn't. That's the problem with the related trick of renaming the dynamiclinkmediaserver helper. LR is dependent on the cached files to play video at all.
jamesr33423836
Participating Frequently
February 5, 2016
That's a good idea... I wonder what will happen... will it constantly retry to save file after file, failing each time, or will it detect the problem on the first file and stop.  At least it can't fill up your hard drive, and when your system becomes slow from all the failed attempts you will eventually reboot it which will terminate the insane processes.

The real issue here is that MOST lightroom users are somehow affected by this and don't even know it.  An awful lot of my photographer buddies are not computer techies at all,  they use computers and their applications but don't get into technical details about how their computers work.  Their computers are being corrupted by this nonsense which is acting like a computer virus... it fills their drive with useless crap until the computer is un-useable.. any computer with a completely full C drive will not run right.  They don't know why it's not working, they take it to a computer service center,  they don't know to look for lightroom cache files.. they just go, oh, your drive is full.. start deleting some stuff.. and a lot of them will just say, you must have got a virus, lets be safe and wipe the drive and do a factory restore.. which doesn't solve the problem because they then install lightroom again and thus re-install the virus. (virus = program that does it's own thing gobbling up all your resources without your permission, since I expressly did NOT give permission for a video cache to be over 1GB,  this meets this definition)

Do the developers not understand the severity of this situation.. how come video cache was not removed in 6.4?????   I would have removed it immediately and apologized for all the headaches it caused.  It's simple NOT worth caching videos at the risk of encountering this problem.
Inspiring
February 5, 2016

Have you tried deleting the cache files using your file manager, and then making the cache folder 'read-only' so that new cache files cannot be written to it? That works with the acr cache folder, so I don't see why it shouldn't work with the video cache folder.


Bob frost

Inspiring
February 5, 2016
Further technical details.

Total number of video files imported into LR catalogue: 6
Total number of cache files created: ~1,180
Number of cache files with size greater than 1 GB: ~75 files
Largest cache file size: 3.4 GB

I find it very curious that a single cache file could individually be larger than the application preference total cache size limit, and be created without an application warning / message box of any kind.
jamesr33423836
Participating Frequently
February 5, 2016
early 90s?  nope never seen anything like this madness then.. not even on my old old 8088 did we have such horrible software that served no purpose whatsoever.

This does NOT need to be fixed.. it NEEDS TO BE REMOVED COMPLETELY!!!!!  

It was a bad idea when it was conceived, it serves no purpose, and it is a Hazard.  The code was produced by a bunch of monkeys banging on their keyboards who never wrote a real line of code in their lives,  it's just all linked copied and pasted crap from old obsolete libraries.  There is no excuse for this kind of shotty programming and I can't understand why the video cache is not gone yet. 
Inspiring
February 4, 2016
For what it's worth, I just bought Lightroom on Jan 31, and I got myself within 25 GB of filling my Mac hard drive due to this issue. Here are my technical specs and application settings:

Lightroom version: 6.0 [1014445]
License: Perpetual
Operating system: Mac OS 10
Version: 10.10 [5]
Hard disk size: 500 GB
Free space on hard disk before buying Lightroom : ~230 GB

LR Preferences > File Handling > Video Cache Settings > 
(checked) Limit video cache size
Maximum Size: 3 GB

My current catalog has only 6 (six) video files, about 5 minutes total of video. During the import process, I used the LR Import to evaluate my entire 500 GB hard drive, plus a 3 TB external network arrayed storage device containing point in time back ups of the Mac. Out of the hundreds of videos I have stored (mostly Coursera course lecture videos) I accidentally imported only 6.

In the space of about 4 days, Lightroom's video caching process used 202 GB on my hard drive. I only found this by accident. Last night I just happened to notice that my machine had only 50 GB free. While watching it over the space of 10-20 minutes, I saw another 25 GB getting eaten up by an unknown process. Given that I spent yesterday doing LR imports, I knew it had something to do with LR, but did not know what. Repeated frantic checking of the LR photo directory showed a 5.75 GB Lightroom photo library. Panicked shut down of the Mac and the NAS ensued. Fortunately the process that created these crap files was halted by the shutdown.

These are the issues as I see them:

  • LR is creating permanent cache files for every single video file it touches in the import process.
  • There is no preference option to exclude video files during import so the creation of video cache files can not be avoided.
  • There is no option at end of import process to interrogate user's desire to keep or discard cached files from last import task.
  • There is no step during the import process to assess hard drive capacity against the projected import caching space requirement to ensure hard drive capacity is not exceeded by the import process. A warning should be displayed to user before import caching that is projected to exceed hard disk space.
  • LR is not abiding by the application preference settings. I had a 3 GB limit set. LR ignored that limit, and blew by that limit by a factor of 67 *WITHOUT* a single application warning and did this over the space of 4 days.
  • After meticulous searching through my hard drive, did I find this cache directory, find the problem reports and the recommended use of the "Purge Cache" button in preferences. Use of this button does *NOT* delete the cache files.

The import feature is fundamentally broken. In my years of computing, I can't recall an application that behaved in such a rogue fashion since the early 90's.

When is this going to be fixed?
jamesr33423836
Participating Frequently
January 29, 2016
that is very true.  It doesn't take anything to play a video, I was doing it on my old 386 with windows 3.11 when I had 16MB of RAM and a 20MB hard drive.  nobody has a computer that slow anymore and I never had to wait an uncomfortable amount of time for a video to play.   I was recording and playing back live TV on a windows 95 machine with an ATI video capture card, and again.. no caching was ever involved... just play tv shows just fine right off my hard drive.   the fact is that the slowest computer that can even run lightroom 6, is blazing fast in comparison to what is needed to get a video playing fast enough. 

So.. given that a video cache is never needed,  trying to build a cache is using system resources, is just slowing down your computer for no gain what so ever.. and since this video cache is broken, and it's simply a hazard - gobbling up TONS of resources  for no reason at all.. just do away with it..    I truly expected it to be gone with the release of 6.4 and I'm very disappointed it's still there.   The processor power, ram, and SSD space being wasted by this insane process is disgusting, and it's crashing peoples computers by filling C until it's full.. when you delete stuff to make room, it comes right behind and fills it back up unless you realize what's happening and terminate it... but MOST computer users DON'T know whats happening, they DON'T know how to figure it out, and they DON'T know how to terminate it.. they take their computer to the shop and they don't know why the drive it full,   they figure it's just a bunch of junk, they don't have time to truly diagnose the problem, so they wipe the drive and do a factory restore on it.... 

The amount of problems this retarded video cache HAS Casused and is STILL causing is staggering... delete it from lightroom..  It's BROKEN!!!!  if someday you develop a video cache that works, fine.. but TEST it first... but until then, ADOBE is doing a GREAT Disservice to ALL it's customers by leaving this BAD CODE in place
Known Participant
January 29, 2016
I would guess that the cache could even make things worse on some slow computers, because the cached files are bigger than the originals. Disk access is probably a limiting factor more often than decompression.
jamesr33423836
Participating Frequently
January 29, 2016
I don't understand why the new released 6.4 still does not allow me to set the video cache to zero...  I don't want or need my videos to be cached.. just show me a thumbnail and if I choose to play one,  just open it and play it and let it be slow.. I don't care how slow it opens and plays.  All I care about is that the thumbnail image loads as quickly as the rest of my photos.    All the videos I open and play with VLC media player take no time to start playing and They are defiantly NOT cached.. so why is this cache even needed??? it makes no sense.  It serves no purpose at all.   I have deleted the cache and opened light room and played videos in there before it had a chance to cache anything, and it's fine opening un-cached videos

The quick easy fix to this problem is to remove video caching from lightroom all together.. problem solved!!  everyone has computers that are so fast, no one will even notice!  but we will ALL be happy that our space limited SSDs are not full of crap.  

Just take it out... it's obsolete and not wanted and not needed by ANYONE.  If you have a slow computer, caching the videos isn't going to help enough to make a difference, and if you have a fast computer, they never needed to be cached in the first place.    please note... no serious user of lightroom has a slow computer... and we're the ones who pay to constantly upgrade lightroom.. If you are on a slow computer, you don't care enough about it to bother upgrading it either.. it's just a toy to you.

So I say, skip setting the cache to zero.. just remove it completely then EVERYONE is happy!