Pages: [1]   Go Down

Author Topic: Discard 1:1 previews does not Free Disk space?  (Read 5940 times)

Josh-H

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2079
    • Wild Nature Photo Travel
Discard 1:1 previews does not Free Disk space?
« on: May 19, 2013, 06:02:43 am »

I think I may have found an odd bug in LR (current 4.x release). I have LR installed on a 450GB SSD in my mac pro (boot and apps drive). My images (60,000+) are stored internally on the mac pro on 4 stripped and mirrored RAID hard drives. Catalogue is on the SSD. The catalogue lives on the SSD with the preview folder.

I had 1:1 previews rendered for the entire catalogue which filled the SSD which is never a good thing. So, deleted the 1:1 previews for the entire catalogue using Library / Previews / Discard 1:1 previews. Only problem is... the Lightroom previews folder did not shrink in size. It remained exactly the same.

Manually going to the previews folder and dragging it to the Trash does regain the disk space and LR has to rebuild previews (which is fine - I can just render 1:1 previews for those images I am using atm and don't need 1:1 previews for my entire catalogue).

Anyone else come across this?
Logged
Wild Nature Photo Travel

Tony Jay

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2965
Re: Discard 1:1 previews does not Free Disk space?
« Reply #1 on: May 19, 2013, 06:08:59 am »

Josh, are you running a Mac or a Windows system?

Tony Jay
Logged

Josh-H

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2079
    • Wild Nature Photo Travel
Re: Discard 1:1 previews does not Free Disk space?
« Reply #2 on: May 19, 2013, 06:13:59 am »

"in my mac pro"

Mac  ;D
Logged
Wild Nature Photo Travel

Tony Jay

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2965
Re: Discard 1:1 previews does not Free Disk space?
« Reply #3 on: May 19, 2013, 06:21:52 am »

Shame on you Josh - made me blush.
That was dorkish - apologies for missing the bleeding obvious.

Not seen this on my Windows system but I will do a little experiment to make sure.

Tony Jay
Logged

Tony Jay

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2965
Re: Discard 1:1 previews does not Free Disk space?
« Reply #4 on: May 20, 2013, 02:37:28 am »

Josh, I don'r see the same issue on a Windows system.

I would think that the issue you refer to rests in the domain of the OS.
It should be able to count its fingers and toes correctly.
Nonetheless n=1 is not a great sample size and so a wider data sample is needed.

Tony Jay
Logged

Josh-H

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2079
    • Wild Nature Photo Travel
Re: Discard 1:1 previews does not Free Disk space?
« Reply #5 on: May 20, 2013, 02:49:35 am »

Thanks for checking Tony. I did a search on the web and found a few other threads on other sites where people have reported the same behaviour with versions as early as 1.X.

I think this may be OS related as you imply.
Logged
Wild Nature Photo Travel

john beardsworth

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 4755
    • My photography site
Re: Discard 1:1 previews does not Free Disk space?
« Reply #6 on: May 20, 2013, 02:54:20 am »

Usually there's a delay before deletion, so here I might have waited to see if generating new previews for some items would have started the flushing process. Alternatively, in your circumstances I would have deleted the previews folder through the OS.

John
Logged

eliedinur

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 328
Re: Discard 1:1 previews does not Free Disk space?
« Reply #7 on: May 20, 2013, 04:01:57 am »

How about a simple reboot?
Logged
Roll over Ed Weston,
Tell Ansel Adams th

john beardsworth

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 4755
    • My photography site
Re: Discard 1:1 previews does not Free Disk space?
« Reply #8 on: May 20, 2013, 04:18:33 am »

Unnecessary.
Logged

Josh-H

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2079
    • Wild Nature Photo Travel
Re: Discard 1:1 previews does not Free Disk space?
« Reply #9 on: May 20, 2013, 04:58:34 am »

A reboot did not solve the problem. I just manually trashed the previews file from the OS and it resolved the issue.
Logged
Wild Nature Photo Travel

jjj

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 4728
    • http://www.futtfuttfuttphotography.com
Re: Discard 1:1 previews does not Free Disk space?
« Reply #10 on: May 20, 2013, 09:27:45 am »

For reference - after deleting stuff from OSX you do not normally see more disk space become available until after Trash is emptied.
Logged
Tradition is the Backbone of the Spinele

Josh-H

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2079
    • Wild Nature Photo Travel
Re: Discard 1:1 previews does not Free Disk space?
« Reply #11 on: May 20, 2013, 06:37:56 pm »

Thanks - had tried the obvious of emptying the trash...
Logged
Wild Nature Photo Travel

jjj

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 4728
    • http://www.futtfuttfuttphotography.com
Re: Discard 1:1 previews does not Free Disk space?
« Reply #12 on: May 21, 2013, 09:08:55 am »

Doesn't always show though, sometimes you need to restart your File Manager for it to update.
Though if you are using the execrable Finder, then even that is not straightforward.
Logged
Tradition is the Backbone of the Spinele

KarlGohl

  • Newbie
  • *
  • Offline Offline
  • Posts: 30
Re: Discard 1:1 previews does not Free Disk space?
« Reply #13 on: June 05, 2013, 07:41:42 pm »

According to this from Ian Lyons: http://forums.adobe.com/thread/358039

"1:1 previews will not be deleted unless your chosen standard-sized preview is less than half the size of the full-sized preview"

I had a >100GB previews cache, and doing Discard 1:1 Previews did not reduce the size of .lrdata.  I just changed my standard preview size from 2048 to the smallest setting and did Discard 1:1 Previews on a bunch of photos:  LR is taking much longer to do the operation than the first time.  It is only about 1/3 done and the size of my .lrdata (as shown in Finder) is already down to 63GB.

Perhaps this will work for you.

Ian does say that in some cases the space won't be freed until a while after LR is closed and re-opened, but in my case the size shown in Finder started going down immediately.

I'm not exactly sure what Ian means by "half the size".  Probably means that if the width of the full size image is not at least double that of your standard preview size, then LR won't actually delete said 1:1 preview (perhaps it keeps it instead of the standard size preview???).  
« Last Edit: June 06, 2013, 03:57:43 pm by KarlGohl »
Logged
Pages: [1]   Go Up