Every time I attempt to "update citations & bibliography" it hangs.
I have run it in word safe mode. I have run the pc in safe mode. I have run it without backup, without autosave, without antivirus. I have disabled screensavers. I ran the office repair - no change. All to no avail.
It takes several hours to fall over, and the couple of times I watched the winword process memory usage, i saw it fall over at about the same memory use - about 1.8Gb. This computer still shows only 60% memory used so it's not like it's running out of RAM/swap space. It's behaving like an internal coding hard-limit on memory allocation was reached.
All the event viewer shows me is:
Faulting application winword.exe, version 12.0.6668.5000, stamp 5083137f, faulting module mso.dll, version 12.0.6662.5000, stamp 4fd67dd1, debug? 0, fault address 0x00b12066.
Is anyone else having this issue?
Is this fixed in Word 2010 or 2013?
Does anyone have any suggested workarounds?
Comments: ** Comment from web user: Yves **
If it really is the undo stack causing the issue, you could update fields one at a time while constantly truncating the undo stack.
Something like this:
```
Sub UpdateFieldsOneAtATime()
' Changing the style will trigger an update of everything.
' So you should not do this. If really necessary, I would
' do this directly in the open xml of the file (so outside
' Word).
'ActiveDocument.Bibliography.BibliographyStyle = "Nature"
' Define variable.
Dim fld As Field
' Truncate the undo stack.
ActiveDocument.UndoClear
' Process all fields
For Each fld In ActiveDocument.Fields
' Update the in-text citations and truncate the undo stack.
If fld.Type = wdFieldCitation Then
fld.Update
ActiveDocument.UndoClear
End If
' Update the bibliography and truncate the undo stack.
If fld.Type = wdFieldBibliography Then
fld.Update
ActiveDocument.UndoClear
End If
Next
End Sub
```