Trond Trosterud wrote: > > I have used XMLEditor for several years, but only for experimental > purposes. Now we are trying to scale up, and add an xml document with > 200000 lines (3090026 kb). > > > That did not work. > > My machine has a 2.4 GHz processor and 4 GB of RAM, so that should not > be the problem. > > Is there an upper limit for how large documents XMLEditor may handle?
--> In theory, no. That didn't work for you simply because you got an out-of-memory error (which is printed on the Console, when you start XXE with a Console). The out of memory error may occur even with small XML documents. Example: a small XML document containing a few hundred images (use your calculator: 1pixel=4bytes). The out of memory error may occur no matter the amount of memory you have on your machine. The Java[tm]runtime is allowed to consume a limited amount of memory: * 128Mb before XMLmind XML Editor version 3.6.2, * 512Mb starting from XMLmind XML Editor version 3.6.2. This memory limit may of course be changed. How to do this is described here: http://www.xmlmind.com/xmleditor/faq.html#outofmemory --> In practice, yes. XMLmind XML Editor has been designed to edit topics (e.g. chapters, sections) and not huge documents. Two reasons for that: * A huge document is the assembly of a large number of topics. Therefore there is no real need to be able to edit a huge *monolithic* document. * Even when an editor is capable of editing a huge monolithic document, doing so is still pretty uncomfortable due to the size of the document. Let's say that with a reasonably modern machine, you should be able to edit a multi-hundred-page DocBook monolithic book containing a few dozens, low-resolution, images (e.g. screen shots).

