Word - Insufficient Memory Exception

  • Thread starter Ram Kumar Karnataka
  • Start date
R

Ram Kumar Karnataka

Hi,
I'm facing a problem while automating MS Word to generate huge
documents(sometimes may contain 1000 pages) which contains text, images etc.,

To fix the problem, I have linked all the images in the word document, and
also linked all the files(another word documents) that i do insert in the
process of automation, but still the problem is not fixed.

Moreover, if i proceed for 2 times, "Call was Rejected by Callee"
RPC_E_CALL_REJECTED exception is being thrown and the automation process is
getting stopped.


Kindly let me know how can i solve this issue asap as its very urgent.


Thanks
Best Regards
 
R

Robert M. Franz (RMF)

Hello Ram
I'm facing a problem while automating MS Word to generate huge
documents(sometimes may contain 1000 pages) which contains text, images etc.,

To fix the problem, I have linked all the images in the word document, and
also linked all the files(another word documents) that i do insert in the
process of automation, but still the problem is not fixed.

what kinds of problems?

In general, "amount of pages" is not a big issue for Word, provided you
run reasonably powerful hardware (which you hopefully do for an
automation task). It's more in terms of complexity (loads of different
formatting, many sections, very large tables, tons of different
numbering "strings", etc. that might be a burden.

Moreover, if i proceed for 2 times, "Call was Rejected by Callee"
RPC_E_CALL_REJECTED exception is being thrown and the automation process is
getting stopped.

I doubt any developer (I ain't one :)) can say much unless you show him
the relevant code excerpts. Your best bet with such a sort of thing is
one of the .vba newsgroups around here.

HTH
Robert
 

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