Henrik Sundberg wrote: > This is under work according to the link: > When importing, whole streams are read into memory at once and are > then read from memory. They should be uncompressed and written to > temporary files and be read from there instead. If the stream size is > less than a nominal value (the SvCacheStream class which does > something similar uses the value of 20k) then the file will instead be > stored in memory.
Today this is only true for non-XML streams like graphics and other binary content. In 2002 or before it was true also for XML streams, right, but we already fixed that somewhere in the OOo1.x codeline. > Is the complete XML loaded into memory after all? No, definitely not. There is no need to do so because XML reading is strictly sequentiell and I just checked it in the Writer source code: XML streams are opened without the request to get a seekable stream and in this case it will not pre-decompressed into memory but read through a working buffer as I explained. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
