Word Bookmarks causing 'Insufficient Memory' error.

M

Merlin

Greetings
I am working on a Word Addin that creates many bookmarks in a Word document
as part of its processing.
The first person to seriously use this product is complaining of the
following error message:
'Word has insufficient memory. You will not be able to undo this action once
it is completed. Do you want to continue?'

An internet search found the following Knowledge Base article
http://support.microsoft.com/kb/q240410/
which states that this is caused by 'too many hidden bookmarks in the
document.'

What I would like to know is if it is only *hidden* bookmarks that cause the
problem, or any kind of bookmark?

Also if there is any kind of Work around.

If Word has a limit to the number of bookmarks it can handle then the whole
premise for our product is ruined!

Thanks
Merlin
 
S

Steven Cheng[MSFT]

Hello Merlin,

From your description, you're developing an office word add-in which will
programmatically create many bookmarks, as some users report that they'll
encounter

"Word has insufficient memory. You will not be able to undo this action
once it is completed. Do you want to continue?"

warning, so you're wondering whether the following kb article also apply
for any kind of bookmark in addition to hidden ones, correct?

http://support.microsoft.com/kb/q240410/

So far based on my research, I haven't found definite info indicate that
any kind of bookmark will raise this problem. I'll do some further to see
whether there is anything else helpful on this.

I'll update you as soon as possible.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jonathan West

Merlin said:
Greetings
I am working on a Word Addin that creates many bookmarks in a Word
document
as part of its processing.
The first person to seriously use this product is complaining of the
following error message:
'Word has insufficient memory. You will not be able to undo this action
once
it is completed. Do you want to continue?'

An internet search found the following Knowledge Base article
http://support.microsoft.com/kb/q240410/
which states that this is caused by 'too many hidden bookmarks in the
document.'

What I would like to know is if it is only *hidden* bookmarks that cause
the
problem, or any kind of bookmark?

Also if there is any kind of Work around.

If Word has a limit to the number of bookmarks it can handle then the
whole
premise for our product is ruined!

I'm not aware of any specific limit to the number of bookmarks that can be
inserted into a document.


Quite frankly, I doubt the accuracy of the Knowledgebase article. But the
message you describe is relatively common where you are using automation to
make a very large number of edits to a document. I have come across this
kind of problem with any variety of intensive document editing. You can
avoid these problems by one or more of the following methods.

1. Periodically clearing the Undo stack, by use of the UndoClear method.

2. Saving the document at intervals

3. Saving, closing and re-opening the document before continuing to edit.

It will require some trial-and-error to see which of these options works
best for you and after how many operations you need to repeat them. You may
need to use more than one of them at differeing intervals.
 
S

Steven Cheng[MSFT]

Hello Merlin,

Have you got further progress on this issue? So far based on my research,
there is no particular limitation on all kinds of bookmark objects in word
document.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Johnn

fyi.. sorry for the spam, using UndoClear and Saving document at intervals as
mentioned in other post by Mr. Jonathan West worked
Thanks
Johnn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top