Open and Save small files very very slow

<oXygen/> general issues.
mxarro
Posts: 2

Open and Save small files very very slow

Tue Sep 06, 2016 4:37 pm

Hi

When I'm opening or especially saving files, it can take around ten to twenty seconds to open/save the file. The files are not large (10k). I don't have any similar issue opening or saving files from other applications, and the files I am opening and closing are local.

I'm using 18.1 (but had this same issue on 16 and 17).

Is anyone else having such an issue, or does anyone know a solution (besides ditching Oxygen and going to XMLSpy)?

Thanks,

Mike
adrian
Posts: 2442

Re: Open and Save small files very very slow

Tue Sep 06, 2016 5:20 pm

Hi,

I'm guessing you are actually using 18.0, as 18.1 has not been released yet.
What type of files are these (XML, XSL, XSD)?
Please check for references to remote resources (DOCTYPEs, imports, XIncludes) in your files. Oxygen parses and validates the files on open and this can take some time if not all resources are local.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
mxarro
Posts: 2

Re: Open and Save small files very very slow

Thu Sep 08, 2016 3:45 pm

Hi

Yes it is indeed 18.0 (not sure where I got the .1 from)... The files are XML and XSDs.
The only references I have is from the XML to the XSD (in the same local directory).

I thought I'd found a solution to this by raising the memory setting in the bat file and running it from that - it certainly has improved the situation but not resolved it (i.e. the delay is now between 3 and 7 seconds ish). More bearable but certainly not acceptable.

Anything else I can try to speed things up?

Thanks,

Mike
adrian
Posts: 2442

Re: Open and Save small files very very slow

Thu Sep 08, 2016 5:41 pm

Hi,

Memory would only make a difference if you have a huge hierarchy of files (schemas in this case). BTW, we only recommend using the .bat for testing purposes. Modifying the -Xmx value in the corresponding .vmoptions file (e.g. oxygen18.0.vmoptions) is the recommended way of increasing available memory for Windows and Linux, so that it would be set for the corresponding launcher (Oxygen shortcut or oxygen18.0.exe).

Regarding the slowness, my best guess is there are some references to remote URIs/schemas in your schema hierarchy.
You can check this by making the catalog resolver fully verbose, Options > Preferences, XML / XML Catalog, Verbosity: All messages.

Close and reopen your file and check what's listed in the Catalogs view. Look for entries of the form:

Code: Select all

Could not resolve URI: http://host/path/to/schema.xsd

Those usually mean Oxygen will have to go online and retrieve that schema (unless it's resolved a few lines lower).

If that's the case, you need to save locally those remote schemas and create an XML catalog entry for each of them.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 3 guests