[iText-questions] Antwort: Re: RtfWriter2: OutOfMemory, with patch [Virus checked]

2006-08-24 Thread Dirk Möbius
> I had actually caught that bug earlier this week while doing some clean-up > work and had already prepared, but not committed a patch. I've now committed > my patch. Please check that it fixes your problem. I didn't test the latest CVS revision (sorry, no time {:-), but looking at the source co

[iText-questions] RtfWriter2: OutOfMemory, with patch

2006-08-23 Thread Dirk Möbius
Hi, RtfWriter2 reads the whole document in memory, even if dataCacheStyle is set to CACHE_DISK. When generating large documents, this could lead to OutOfMemory exceptions. This happened to be the case in our reporting system. The problem is in RtfDocument.writeDocument(), which reads the whole di