Skip to main content
Inspiring
March 9, 2012

P: Unable to backup catalog in Lightroom 4

I have not been able to backup my catalog in Lightroom 4 since upgrading two days ago. I did not have this problem with 4 beta. It runs through checking integrity, backing up, and optimizing, and then I get a message that it was unsuccessful and to make sure I have enough space and check directory permissions. There is plenty of space, and I have tried to create it to two different drives without success.

I am using the 32-bit version with Windows 7. The size of my catalog is 1.7 GB and includes my previous LR3 and LR4 beta catalogs. Thanks.

このトピックへの返信は締め切られました。

返信数 55

Rmcguirephoto作成者
Inspiring
March 22, 2012

My debug log also seems to indicate an "out of memory" problem. I can't paste the entire log here -- it''s long and it's not letting me, but below is an excerpt. It seemed to keep trying the same thing over and over and then giving up.

I can e-mail the log to you as an attachment if you like, Ben. Thanks.

00000021 490.16159058 [6060] Database "F:\Richard's Documents\My Pictures\Lightroom\Lightroom 4 Catalog.lrcat": out of memory
00000022 490.16159058 [6060] Statement: VACUUM
00000023 490.16159058 [6060] 0: method exec - C
00000024 490.16159058 [6060] 1: method exec - 59600407:436+44
00000025 490.16159058 [6060] 2: method exec - 1098400342:842+5
00000026 490.16159058 [6060] 3: [unnamed] - 219380148:1250+5
00000027 490.16159058 [6060] 4: global pcall - C
00000028 490.16159058 [6060] 5: [unnamed] - 64465982:209+5
00000029 490.16159058 [6060] 6: global pcall - C
00000030 490.16159058 [6060] 7: [unnamed] - 1098400342:536+44
00000031 490.16159058 [6060] 8: [unnamed] - tail
00000032 490.16159058 [6060] 9: [unnamed] - tail
00000033 490.16159058 [6060] 10: global pcall - C
00000034 490.16159058 [6060] 11: [unnamed] - 1098400342:1046+19
00000035 490.16159058 [6060] 12: [unnamed] - tail
00000036 490.16159058 [6060] 13: global pcall - C
00000037 490.16159058 [6060] 14: [unnamed] - 40549723:887+13
00000038 490.16159058 [6060] 15: [unnamed] - tail
00000039 490.16159058 [6060] 16: global pcall - C
00000040 490.16159058 [6060] 17: [unnamed] - 1098400342:499+13
00000041 490.16159058 [6060] 18: [unnamed] - tail
00000042 490.16159058 [6060] 19: [unnamed] - 1317688261:99+46
00000043 490.16159058 [6060] 20: global pcall - C
00000044 490.16159058 [6060] 21: [unnamed] - 1002929302:1193+34
00000045 490.16159058 [6060] 22: [unnamed] - tail
00000046 490.16159058 [6060] 23: [unnamed] - tail
00000047 490.16159058 [6060] 24: [unnamed] - tail
00000048 490.16159058 [6060] 25: method dispatch - 1002929302:971+75
00000049 490.16159058 [6060] 26: [unnamed] - 1002929302:1679+77
00000050 490.16159058 [6060] 27: global AgCallWithAutoreleasePool - C
00000051 490.16159058 [6060] 28: method run - 1002929302:1642+28
00000052 490.16159058 [6060] 29: [unnamed] - 435542093:0+6
00000053 490.16159058 [6060] ---------------------------------
00000054 490.16168213 [6060]
00000055 490.83874512 [6060] L:
00000056 490.83883667 [6060] Database "F:\Richard's Documents\My Pictures\Lightroom\Lightroom 4 Catalog.lrcat": out of memory
00000057 490.83883667 [6060] Statement: PRAGMA integrity_check
00000058 490.83883667 [6060] 0: [unnamed] - C
00000059 490.83883667 [6060] 1: [unnamed] - 59600407:614+42
00000060 490.83883667 [6060] 2: [unnamed] - tail
00000061 490.83883667 [6060] 3: [unnamed] - 40549723:773+3
00000062 490.83883667 [6060] 4: global pcall - C
00000063 490.83883667 [6060] 5: [unnamed] - 1098400342:536+44
00000064 490.83883667 [6060] 6: [unnamed] - tail
00000065 490.83883667 [6060] 7: [unnamed] - 40549723:798+3
00000066 490.83883667 [6060] 8: global pcall - C
00000067 490.83883667 [6060] 9: [unnamed] - 1098400342:1046+19
00000068 490.83883667 [6060] 10: [unnamed] - tail
00000069 490.83883667 [6060] 11: global pcall - C
00000070 490.83883667 [6060] 12: upvalue ? - 40549723:812+9
00000071 490.83883667 [6060] 13: [unnamed] - 40549723:985+59
00000072 490.83883667 [6060] 14: global pcall - C
00000073 490.83883667 [6060] 15: [unnamed] - 1098400342:499+13
00000074 490.83883667 [6060] 16: [unnamed] - tail
00000075 490.83883667 [6060] 17: [unnamed] - 1317688261:99+46
00000076 490.83883667 [6060] 18: global pcall - C
00000077 490.83883667 [6060] 19: [unnamed] - 1002929302:1193+34
00000078 490.83883667 [6060] 20: [unnamed] - tail
00000079 490.83883667 [6060] 21: [unnamed] - tail
00000080 490.83883667 [6060] 22: [unnamed] - tail
00000081 490.83883667 [6060] 23: method dispatch - 1002929302:971+75
00000082 490.83883667 [6060] 24: [unnamed] - 1002929302:1679+77
00000083 490.83883667 [6060] 25: global AgCallWithAutoreleasePool - C
00000084 490.83883667 [6060] 26: method run - 1002929302:1642+28
00000085 490.83883667 [6060] 27: [unnamed] - 435542093:0+6
00000086 490.83883667 [6060] ---------------------------------
00000087 490.83892822 [6060]
00000088 490.83920288 [6060] L:
00000089 490.83923340 [6060] Database "F:\Richard's Documents\My Pictures\Lightroom\Lightroom 4 Catalog.lrcat": out of memory
00000090 490.83923340 [6060] Statement: PRAGMA integrity_check
00000091 490.83923340 [6060] 0: global assert - C
00000092 490.83923340 [6060] 1: [unnamed] - 1098400342:536+66
00000093 490.83923340 [6060] 2: [unnamed] - tail
00000094 490.83923340 [6060] 3: [unnamed] - 40549723:798+3
00000095 490.83923340 [6060] 4: global pcall - C
00000096 490.83923340 [6060] 5: [unnamed] - 1098400342:1046+19
00000097 490.83923340 [6060] 6: [unnamed] - tail
00000098 490.83923340 [6060] 7: global pcall - C
00000099 490.83923340 [6060] 8: upvalue ? - 40549723:812+9
00000100 490.83923340 [6060] 9: [unnamed] - 40549723:985+59
00000101 490.83923340 [6060] 10: global pcall - C
00000102 490.83923340 [6060] 11: [unnamed] - 1098400342:499+13
00000103 490.83923340 [6060] 12: [unnamed] - tail
00000104 490.83923340 [6060] 13: [unnamed] - 1317688261:99+46
00000105 490.83923340 [6060] 14: global pcall - C
00000106 490.83923340 [6060] 15: [unnamed] - 1002929302:1193+34
00000107 490.83923340 [6060] 16: [unnamed] - tail
00000108 490.83923340 [6060] 17: [unnamed] - tail
00000109 490.83923340 [6060] 18: [unnamed] - tail
00000110 490.83923340 [6060] 19: method dispatch - 1002929302:971+75
00000111 490.83923340 [6060] 20: [unnamed] - 1002929302:1679+77
00000112 490.83923340 [6060] 21: global AgCallWithAutoreleasePool - C
00000113 490.83923340 [6060] 22: method run - 1002929302:1642+28
00000114 490.83923340 [6060] 23: [unnamed] - 435542093:0+6
00000115 490.83923340 [6060] ---------------------------------
00000116 490.83932495 [6060]
00000117 490.83969116 [6060] L:
00000118 490.83972168 [6060] Database "F:\Richard's Documents\My Pictures\Lightroom\Lightroom 4 Catalog.lrcat": out of memory
00000119 490.83972168 [6060] Statement: PRAGMA integrity_check
00000120 490.83972168 [6060] 0: global assert - C
00000121 490.83972168 [6060] 1: [unnamed] - 1098400342:1046+35
00000122 490.83972168 [6060] 2: [unnamed] - tail
00000123 490.83972168 [6060] 3: global pcall - C
00000124 490.83972168 [6060] 4: upvalue ? - 40549723:812+9
00000125 490.83972168 [6060] 5: [unnamed] - 40549723:985+59
00000126 490.83972168 [6060] 6: global pcall - C
00000127 490.83972168 [6060] 7: [unnamed] - 1098400342:499+13
00000128 490.83972168 [6060] 8: [unnamed] - tail
00000129 490.83972168 [6060] 9: [unnamed] - 1317688261:99+46
00000130 490.83972168 [6060] 10: global pcall - C
00000131 490.83972168 [6060] 11: [unnamed] - 1002929302:1193+34
00000132 490.83972168 [6060] 12: [unnamed] - tail
00000133 490.83972168 [6060] 13: [unnamed] - tail
00000134 490.83972168 [6060] 14: [unnamed] - tail
00000135 490.83972168 [6060] 15: method dispatch - 1002929302:971+75
00000136 490.83972168 [6060] 16: [unnamed] - 1002929302:1679+77
00000137 490.83972168 [6060] 17: global AgCallWithAutoreleasePool - C
00000138 490.83972168 [6060] 18: method run - 1002929302:1642+28
00000139 490.83972168 [6060] 19: [unnamed] - 435542093:0+6
00000140 490.83972168 [6060] ---------------------------------
00000141 490.83981323 [6060]
00000142 490.84011841 [6060] L:
00000143 490.84014893 [6060] Database "F:\Richard's Documents\My Pictures\Lightroom\Lightroom 4 Catalog.lrcat": out of memory
00000144 490.84014893 [6060] Statement: PRAGMA integrity_check
00000145 490.84014893 [6060] 0: global error - C
00000146 490.84014893 [6060] 1: upvalue ? - 40549723:812+26
00000147 490.84014893 [6060] 2: [unnamed] - 40549723:985+59
00000148 490.84014893 [6060] 3: global pcall - C
00000149 490.84014893 [6060] 4: [unnamed] - 1098400342:499+13
00000150 490.84014893 [6060] 5: [unnamed] - tail
00000151 490.84014893 [6060] 6: [unnamed] - 1317688261:99+46
00000152 490.84014893 [6060] 7: global pcall - C
00000153 490.84014893 [6060] 8: [unnamed] - 1002929302:1193+34
00000154 490.84014893 [6060] 9: [unnamed] - tail
00000155 490.84014893 [6060] 10: [unnamed] - tail
00000156 490.84014893 [6060] 11: [unnamed] - tail
00000157 490.84014893 [6060] 12: method dispatch - 1002929302:971+75
00000158 490.84014893 [6060] 13: [unnamed] - 1002929302:1679+77
00000159 490.84014893 [6060] 14: global AgCallWithAutoreleasePool - C
00000160 490.84014893 [6060] 15: method run - 1002929302:1642+28
00000161 490.84014893 [6060] 16: [unnamed] - 435542093:0+6
00000162 490.84014893 [6060] ---------------------------------
00000163 490.84017944 [6060]
00000164 490.84042358 [6060] L:
00000165 490.84048462 [6060] Database "F:\Richard's Documents\My Pictures\Lightroom\Lightroom 4 Catalog.lrcat": out of memory
00000166 490.84048462 [6060] Statement: PRAGMA integrity_check
00000167 490.84048462 [6060] 0: global assert - C
00000168 490.84048462 [6060] 1: [unnamed] - 1098400342:499+30
00000169 490.84048462 [6060] 2: [unnamed] - tail
00000170 490.84048462 [6060] 3: [unnamed] - 1317688261:99+46
00000171 490.84048462 [6060] 4: global pcall - C
00000172 490.84048462 [6060] 5: [unnamed] - 1002929302:1193+34
00000173 490.84048462 [6060] 6: [unnamed] - tail
00000174 490.84048462 [6060] 7: [unnamed] - tail
00000175 490.84048462 [6060] 8: [unnamed] - tail
00000176 490.84048462 [6060] 9: method dispatch - 1002929302:971+75
00000177 490.84048462 [6060] 10: [unnamed] - 1002929302:1679+77
00000178 490.84048462 [6060] 11: global AgCallWithAutoreleasePool - C
00000179 490.84048462 [6060] 12: method run - 1002929302:1642+28
00000180 490.84048462 [6060] 13: [unnamed] - 435542093:0+6
00000181 490.84048462 [6060] ---------------------------------
00000182 490.84051514 [6060]
00000183 490.84103394 [6060] L:
00000184 490.84109497 [6060] Database "F:\Richard's Documents\My Pictures\Lightroom\Lightroom 4 Catalog.lrcat": out of memory
00000185 490.84109497 [6060] Statement: PRAGMA integrity_check
00000186 490.84109497 [6060] 0: global assert - C
00000187 490.84109497 [6060] 1: [unnamed] - 1317688261:269+81
00000188 490.84109497 [6060] 2: [unnamed] - 179812414:1976+12
00000189 490.84109497 [6060] ---------------------------------

Participant
March 22, 2012

Hi and Thanks to all who have already posted with this issue.
I am also having problems and can now backup my catalog by unchecking optimize and chechk integrity- so thanks for that woprk around.

I have also just run the bug check that Ben has mentioned. Is seems as though there is a memory issue but I'm not too clear from the data why.Here is the data:-

00000001 0.00000000 [972] L:
00000002 0.00005184 [972] canceled
00000003 0.00005184 [972] 0: global error - C
00000004 0.00005184 [972] 1: [unnamed] - 1250880549:150+4
00000005 0.00005184 [972] 2: [unnamed] - C
00000006 0.00005184 [972] 3: global pcall - C
00000007 0.00005184 [972] 4: upvalue ? - 2040030245:1819+4
00000008 0.00005184 [972] 5: upvalue ? - 2040030245:2514+28
00000009 0.00005184 [972] 6: field readNegativeInfo - 2040030245:2554+8
00000010 0.00005184 [972] 7: field loadNegative - 476383837:280+37
00000011 0.00005184 [972] 8: [unnamed] - 1225751237:0+9
00000012 0.00005184 [972] 9: [unnamed] - tail
00000013 0.00005184 [972] 10: global pcall - C
00000014 0.00005184 [972] 11: [unnamed] - 155295939:73+43
00000015 0.00005184 [972] 12: [unnamed] - C
00000016 0.00005184 [972] 13: global AgCallWithAutoreleasePool - C
00000017 0.00005184 [972] 14: [unnamed] - 155295939:0+25
00000018 0.00005184 [972] ---------------------------------
00000019 0.00009547 [972]
00000020 0.00055177 [972] L:
00000021 0.00058308 [972] canceled
00000022 0.00058308 [972] 0: global assert - C
00000023 0.00058308 [972] 1: field readNegativeInfo - 2040030245:2554+9
00000024 0.00058308 [972] 2: field loadNegative - 476383837:280+37
00000025 0.00058308 [972] 3: [unnamed] - 1225751237:0+9
00000026 0.00058308 [972] 4: [unnamed] - tail
00000027 0.00058308 [972] 5: global pcall - C
00000028 0.00058308 [972] 6: [unnamed] - 155295939:73+43
00000029 0.00058308 [972] 7: [unnamed] - C
00000030 0.00058308 [972] 8: global AgCallWithAutoreleasePool - C
00000031 0.00058308 [972] 9: [unnamed] - 155295939:0+25
00000032 0.00058308 [972] ---------------------------------
00000033 0.00061131 [972]
00000034 242.96647644 [972] L:
00000035 242.96656799 [972] Database "D:\Libraries\lightroom\lightroom 4.0\lightroom 4\lightroom 4.lrcat": out of memory
00000036 242.96656799 [972] Statement: VACUUM
00000037 242.96656799 [972] 0: method exec - C
00000038 242.96656799 [972] 1: method exec - 59600407:436+44
00000039 242.96656799 [972] 2: method exec - 1098400342:842+5
00000040 242.96656799 [972] 3: [unnamed] - 219380148:1250+5
00000041 242.96656799 [972] 4: global pcall - C
00000042 242.96656799 [972] 5: [unnamed] - 64465982:209+5
00000043 242.96656799 [972] 6: global pcall - C
00000044 242.96656799 [972] 7: [unnamed] - 1098400342:536+44
00000045 242.96656799 [972] 8: [unnamed] - tail
00000046 242.96656799 [972] 9: [unnamed] - tail
00000047 242.96656799 [972] 10: global pcall - C
00000048 242.96656799 [972] 11: [unnamed] - 1098400342:1046+19
00000049 242.96656799 [972] 12: [unnamed] - tail
00000050 242.96656799 [972] 13: global pcall - C
00000051 242.96656799 [972] 14: [unnamed] - 40549723:887+13
00000052 242.96656799 [972] 15: global pcall - C
00000053 242.96656799 [972] 16: [unnamed] - 1098400342:499+13
00000054 242.96656799 [972] 17: [unnamed] - tail
00000055 242.96656799 [972] 18: [unnamed] - 1317688261:99+46
00000056 242.96656799 [972] 19: global pcall - C
00000057 242.96656799 [972] 20: [unnamed] - 1002929302:1193+34
00000058 242.96656799 [972] 21: [unnamed] - tail
00000059 242.96656799 [972] 22: [unnamed] - tail
00000060 242.96656799 [972] 23: [unnamed] - tail
00000061 242.96656799 [972] 24: method dispatch - 1002929302:971+75
00000062 242.96656799 [972] 25: [unnamed] - 1002929302:1679+77
00000063 242.96656799 [972] 26: global AgCallWithAutoreleasePool - C
00000064 242.96656799 [972] 27: method run - 1002929302:1642+28
00000065 242.96656799 [972] 28: [unnamed] - 435542093:0+6
00000066 242.96656799 [972] ---------------------------------
00000067 242.96665955 [972]

I hope that this can be of some use

Mike

Benjamin Warde
Participating Frequently
March 21, 2012
Hi Richard,

Unfortunately, your catalog backs up just fine more me, so I have been unable to reproduce the problem. If you and Thomas (and anyone else experiencing the problem) could try the following, it may prove helpful. These steps describe how to enable debug mode for Lightroom:

1. Right click the Lightroom icon you use to launch on the desktop and choose Copy from the menu.
2. Right click the Desktop and choose Paste from the menu.
3. Right click the new icon and choose Properties... from the menu.
4. In the Target field of the properties dialog append -tracebacks (separated from the path by a space): (It will look like this at the end when you're done (leave the rest of the path alone): lightroom.exe" -tracebacks)
5. In the general tab, you might also want to change the name so you can easily visually distinguish this new icon from the original (we'll delete it when we're done).
6. Go to this site in your browser: http://technet.microsoft.com/en-us/sy...
On the right hand side of the page, click the "Run DebugView" link (it's safe – it's just a debug output viewer from Microsoft)
7. Click through the Eula if necessary.
8. With DebugView running, double click the new icon we created in steps 1-5.
Repeat the steps in Lightroom that cause the problem that you are seeing.
9. Save the output from the debugger. You can either highlight and copy/paste or choose "Save as..." from the menu to save the output to a file.
10. Post the debug info back to this thread.

With luck, there will be something meaningful in there that will explain the failure. Let me know if you have any questions.

Thanks,
Ben

P.S. Just for yucks, try throwing out your Lightroom preferences, if you haven't already. That will often fix all manner of weird little problems. Go to Users/[user name]/AppData/Roaming/Adobe/Lightroom/ and in there you'll see a folder called "Preferences." Throw that out, or just move it to the desktop if you want to keep it. Then If removing it doesn't help, you can put it back if you wish.
Rmcguirephoto作成者
Inspiring
March 20, 2012
I have sent Ben my catalog to test.
Participating Frequently
March 19, 2012
My 3 gb database also fails the backup with the error message when I check "optimize" and uncheck "test integrity."

To work around the problem, I uncheck both boxes during exit.
I used File>Optimize Catalog command once, inside of Lightroom 4, which seemed to work (taking about 20 minutes or so on 3 gb datalog), but it would be nice to get it working during exit.
Benjamin Warde
Participating Frequently
March 19, 2012
Thanks Tom. I am contacting Richard privately to obtain his catalog for testing, if he's willing to provide it. Just contacting Richard first, since his catalog is smaller. If for any reason that doesn't work out, or doesn't give me the info I need, I'll contact you privately as well. I'll post back to this thread with what I find.

Thanks,
Ben
Participating Frequently
March 19, 2012
There is no problem when I create a new catalog in Lightroom 4, import 100 images, then backup with "test integrity" and "optimize" both checked. The backup then works fine.
I only get the problem using my large catalog converted from LR version 3.6.
What's the next step to isolate the problem?
Tom
Benjamin Warde
Participating Frequently
March 19, 2012
I am not able to reproduce this problem. If you create a new Lightroom catalog, will it back up successfully? You don't have to make much of a catalog, just create a new catalog in Lightroom 4, import a couple images, and then try backing it up (with "test integrity" and "optimize" both checked). Let me know if that works, and we'll proceed from there.

Thanks,
Ben
Rmcguirephoto作成者
Inspiring
March 18, 2012
Tom,

I just did some further testing.

When I tried to create a backup with unchecking only the "test integrity" box, but leaving "optimize catalog" checked, I was successful in about 7 minutes.

When I tried the reverse, checking "test integrity" but unchecking "optimize catalog", I was successful in just over 3 minutes.

It only seems to fail with BOTH boxes are checked. If only one, either, is checked, it works.

The work around for now would seem to be to optimize separately, and uncheck the "optimize" box when creating the backup. Hopefully Adobe has a more permanent solution.

Richard
Rmcguirephoto作成者
Inspiring
March 18, 2012
Tom,

Your message was very helpful. I got similar results to yours.

I tried an optimize from the File menu separately from exiting and creating backup. It appeared to optimize successfully in just under 5 minutes. I only got a "bing" sound when it completed and no other confirmation, but when I tried to optimize again, the time it gave for previous optimize was a minute earlier.

I also told it to make a backup next time I exit, and I unchecked the "text integrity" and "optimize during backup" boxes. It successfully created a backup in just over 3 minutes.

Last night when I attempted to make a weekly backup with both boxes checked, the process seemed to take several hours and left me with an empty directory. I assume it created the file, but deleted it during the integrity checking process.

I'm surprised more people haven't reported this problem, but at least I know it's not just me.

Frans, I have tried creating backups to several drives, all without success. All the drives have plenty of space. I'm glad it worked for you.

Richard