Problem with editing more than about 16-18 documents

Having trouble installing Oxygen? Got a bug to report? Post it all here.
PeterRobertson
Posts: 47
Joined: Mon Apr 18, 2005 2:22 pm

Problem with editing more than about 16-18 documents

Post 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.
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Post 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
PeterRobertson
Posts: 47
Joined: Mon Apr 18, 2005 2:22 pm

Post by PeterRobertson »

Increasing the memory parameter from 180 to 400 (on a 1GB PC) solved the problem.
Post Reply