Jeff Hooker wrote: > > We're seeing something odd with our largest docbook files. These files are > around 1.8 megs of text, and include references to well over 300 SVG graphics. >
We routinely test XXE against a 2.2Mb document (an actual O'Reilly book) without any reliability or *speed* problem on an average PC. I think your problems come entirely from the 300 SVG files[*]. > Opening the document takes quite a while, as is understandable, but users are > accustomed to going away to get a cup of coffee or something while the > document loads. > If I were one of your users, I would rather throw the document, XMLmind XML Editor and the PC all together out of the window. > However, when the document first loads and the top of it is rendered on the > screen, if the user attempts to scroll down immediately instead of giving it > a minute more to finish rendering, the application locks and must be > restarted. Processor activity drops off to zero, memory allocation activity > drops off to zero; nothing is happening, it's just locked up tight. > > Whatever XMLmind is doing to render onscreen, it's displaying content before > the document is actually ready. It would be nice if it just waited until the > document was actually fully loaded before tempting the user into behavior > that will ultimately bring them to my desk complaining. > No, I don't think that the user action you describe explains your problems. I think your problems come from the fact that XXE has not enough memory to cope with your document. In such case, XXE can freeze more or less randomly: when you open the document, when the user does something, etc. Please start XXE with a console to see which error messages are displayed. How to do this is explained in this FAQ: XXE seems to freeze when I do such and such action. What's going on? http://www.xmlmind.com/xmleditor/faq.html#display_exception_in_console You'll probably see out of memory errors. In this is the case, please try to increase the memory[**] as explained in this FAQ: XXE freezes when I try to open large XML files. Is there a workaround for this problem? http://www.xmlmind.com/xmleditor/faq.html#outofmemory If this is not the case, please send me a copy of the error messages and, if possible, a .zip file containing the large document and also all the SVG files. --- [*] When a document contains a large number of graphics files (or very high-res graphics), it is strongly recommended to use the CSS called "Images displayed as thumbnails" rather than the default one. [**] Of course do no set 1Gb on a machine which has less than 2Gb of physical memory. First increase the physical memory of the machine.

