Exception on generating large amount of pages.

V

vicky

Hi All!

I have developed an Client/Server application which automate word
and generate document according to user's choice. One of clients is
bulding the document on very large database which needs WORD to run for
2-3 days (MIND IT 2-3 days literally.) , after generating 2-3
thousanads of pages it gives an exception. sometimes exception comes
after 1000 - 1500 pages, and sometimes after 2000-3000 pages. This
document contains Text as well as images.
Environment of machine is as following:
P-III 600MHz, 128MB RAM, MS-WORD-2000, windows-XP.
Whereas, i know that size of word document is 32MB for text only
graphics are excluded.

My application is working successfully for 500-1000 pages (as i
tested).

Can anyone tell me that what could be the problem?

Thanks in advance.

Regards,

Zia
 
C

Cindy M.

Hi Vicky,

There's a known issue with the amount of space available for Word's
"scratch" files. Word tracks everything the user (or automation) does so
that the actions can be undone. The alloted space for this is limited, by
design. When creating large documents, especially with many formatting
changes, and ESPECIALLY with lots of tables, this is easily exceeded.

Generally, regularly clearing the Undo buffer (Undo.Clear) helps.
Sometimes, a more radical step is needed: you need to do a Document.Save
every once and a while.

Note: I'm actually impressed Word is able to handle as much as you say.
Bravo, Word team, for the stability!
I have developed an Client/Server application which automate word
and generate document according to user's choice. One of clients is
bulding the document on very large database which needs WORD to run for
2-3 days (MIND IT 2-3 days literally.) , after generating 2-3
thousanads of pages it gives an exception. sometimes exception comes
after 1000 - 1500 pages, and sometimes after 2000-3000 pages. This
document contains Text as well as images.
Environment of machine is as following:
P-III 600MHz, 128MB RAM, MS-WORD-2000, windows-XP.
Whereas, i know that size of word document is 32MB for text only
graphics are excluded.

My application is working successfully for 500-1000 pages (as i
tested).

Can anyone tell me that what could be the problem?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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