Page 1 of 1

Problem with editing more than about 16-18 documents

Posted: Wed May 11, 2005 11:51 am
by PeterRobertson
In Oxygen 5.1, as the number of open documents grows above about 18,
the editing performance drops dramatically. The point at which things
start to slow down is slightly variable.

I have created 26 tiny xml files: A.xml..Z.xml.

I start Oxygen and open the files one after another, starting with A.xml.

Everything is fine until opening Q.xml, or thereabouts. At that point there
is a noticable delay before the file opens. By the time I get to V or W it
can take over a minute to open the file. In this state Oxygen is completely
unusable, as even clicking on a new part of the text needs forever to
have any effect. Closing down Oxygen also is extremely painful.

The Windows Task Manager shows no significant activity happening while
Oxygen is being unresponsive. As an experiment I have opened the set
of files in question (and many, many more) using several other text
editors with no problem.

Posted: Thu May 12, 2005 3:32 pm
by Dan
Hello Peter,
We made a profiling of the editor and we found no difference in editing just one document or 60 small ones. I think in your case it might be a problem with the memory settings. If too much memory is given to the editor, this can force other applications to swap out on disk, degrading system's performance. The same is true if having too little memory allocated to the editor, it will spend time freeing unused objects.

For a phisical memory of 500 MB we recommend to set to the editor about 180MB - 256MB. Check the following link for detaills.

http://www.oxygenxml.com/doc/ug-oxygen/ ... -documents

Other possibility is that the files are referring XML Schemas or DTD that are placed on other host (http urls) and the editor spends time downloading them. Could you post here a sample file?

Best regards,
Dan

Posted: Thu May 12, 2005 3:50 pm
by PeterRobertson
Increasing the memory parameter from 180 to 400 (on a 1GB PC) solved the problem.