trichview.com

trichview.support




Re: Out of memory error


Return to index


Author

Message

Richard King

Posted: 07/05/2005 3:42:34


Sergey,


The number of text/para/list styles remains at 9, 7 and 0 respectively for

the entire duration of building the mail merged document. (The same "template"

document is being appended at each iteration so there are no new styles being

added after the first page). Each iteration essentially consists of a LoadRTFFromStream

(same document each time), Format, lots of text substitution using SearchText

and InsertText) and InsertPageBreak. The template document is not complicated

- no tables - just a few paragraphs and a few styles.



"Sergey Tkachenko" <svt@trichview.com> wrote:

>Probably something is wrong with the document.

>Please check how the number of styles grows while you load document, as

I

>suggested in my previous post.

>

>>

>> Have installed 1.9.8 and still get the problem if build too large a

>document.

>> Have used memcheck as suggested by Jim McGuire but have not thoroughly

>checked

>> after doing this - will do so.

>>

>> I am still puzzled why we can get to 300 letters/pages in one document

if

>> we do a .Clear at each iteration - no other changes

>>

>> "Sergey Tkachenko" <svt@trichview.com> wrote:

>> >1) If you use older version of TRichView, please update

>> >2) Please check, may be RVStyle.TextStyles.Count,

>RVStyle.ParaStyles.Count,

>> >RVStyle.ListStyles.Count are increased to enormous values?

>> >Especially check ListStyles.

>

>





Powered by ABC Amber Outlook Express Converter