Mark Proctor wrote:
> We are having problems authoring the Drools manual, probably due to its
> size and number of images. We can open master.xml once, but if go into a
> few sections and make changes and then telll it to update the parent
> document eventually it just freezes, making XMLMind unusable :(
> 
> You can see this for yourself by doing an svn checkout from here
> http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/documentation/manual/
> and opening master.xml and trying to make changes in sub sections.
> 

I didn't manage to even open master.xml (Java 1.4.1 on my old, slow,
Linux box) because, as expected, I got several
"java.lang.OutOfMemoryError" printed on my xterm.

After increasing the maximum amount of memory made available to the Java
runtime from 128Mb to 512Mb, as instructed in this FAQ:

http://www.xmlmind.com/xmleditor/faq.html#outofmemory

I had no problem  opening master.xml, modifying included modules[1] such
as Section-The_Drools_Rule_Engine.xml and then switching back and
updating[2] master.xml



I would also recommend to systematically use the "Images displayed as
thumbnails" CSS style sheet (use the View menu for that -- see
http://www.xmlmind.com/xmleditor/_distrib/doc/help/viewMenu.html), at
least for  master.xml, as this spares hundreds of Mb of memory and makes
XXE more reactive.



---
[1] Shortcut for Edit|Reference|Edit Referencing Document = Ctrl-Shift-E
[2] Shortcut for Edit|Reference|Edit Referenced Document = Ctrl-Shift-B.
Also has the very useful side-effect of *automatically* *updating* the
master document. See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/editMenu.html#referenceMenu

Reply via email to