On Monday 05 September 2005 17:23, Valentin Baudot wrote: > this.m_document.close(); // This writes the file and is supposed to > free the memory. This is incorrect. close() only closes the Document. This causes the different writers to finalise and write the pdf/rtf/... documents. Nothing more. Memory is only freed when the objects are no longer reachable and then only when the garbage collector performs its next sweep.
Due to this a lot of memory allocated by the RtfWriter2 (which keeps a lot of stuff in memory) is not immediately freed when it is no longer needed. I'll look into what can safely be done to reduce the time until memory is freed. Greetings, Mark -- You will pay for your sins. If you have already paid, please disregard this message. My GPG public key is available at: http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
pgp74Nl16qSxj.pgp
Description: PGP signature
