Painful speed with schema diagrams

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
newt
Posts: 38
Joined: Mon Jun 11, 2007 5:12 pm
Location: London
Contact:

Painful speed with schema diagrams

Post by newt » Mon Jun 11, 2007 5:17 pm

I'm seeing painfully slow schema diagrams (both XSD and RNG although I only really care about RNG). We're working on customisations to the current DocBook 5 schemas for our inhouse use.

Loading up the DocBook schema (docbook.rng) on my macbook pro (2gz, 1gig ram) with Oyxgen given up 1gig of RAM. The schema takes a fair while to load (15 secs maybe) but the diagram takes about 5 seconds minimum to scroll any distance at all.

Any idea why this might be case and is there anything we can do about this? Currently, this has me casting about for another tool after a few years happy use with Oxygen.

cheers

nic
Director, Corbas Consulting
XML and eBook consultancy and training

george
Site Admin
Posts: 2101
Joined: Thu Jan 09, 2003 2:58 pm

Post by george » Tue Jun 12, 2007 9:57 am

Dear Nic,

I can reproduce some performance issues when editing but not when browsing the diagram - do you gat problems when you just browse that DocBook schema?
For the editing issues we will look to see where the time is spent and try to find a solution.
As an workaround go to Options->Preferences -- Editor -- Diagram and disable the diagram and related views.

Best Regards,
George
George Cristian Bina

newt
Posts: 38
Joined: Mon Jun 11, 2007 5:12 pm
Location: London
Contact:

Post by newt » Tue Jun 12, 2007 11:25 am

Hi George
Thanks for the speedy response
george wrote:Dear Nic,

I can reproduce some performance issues when editing but not when browsing the diagram - do you gat problems when you just browse that DocBook schema?
It just seems to be large schemas. We have a tiny (90 elements or so) compared to DocBook DTD and that's just fine. We have another large schema that also takes forever. It is only scrolling through the diagram - expanding a referenced element is perfectly fast enough. I'm trying to convince IT to install oxygen on a PC for me so that I can compare Windows and Mac.
george wrote:
For the editing issues we will look to see where the time is spent and try to find a solution.
As an workaround go to Options->Preferences -- Editor -- Diagram and disable the diagram and related views.

Best Regards,
George
Thanks - I hadn't noticed that I could disable the diagram.
Director, Corbas Consulting
XML and eBook consultancy and training

adrian
Posts: 2580
Joined: Tue May 17, 2005 4:01 pm

Post by adrian » Wed Jun 13, 2007 5:06 pm

Hello,

For improving the performance of the schema browsing you can try to set the value of the runtime system property "apple.awt.graphics.UseQuartz" to "false" in the "info.plist".

To accomplish this, follow the steps:
1. In Finder go to Oxygen installation directory and trigger the contextual menu on the Oxygen launcher (Oxygen.app).
2. From the menu choose "Show package contents". This should open another window.
3. In the new window enter the "Contents" directory and edit "info.plist" either with the "Property List Editor" or a text editor.
4. In the Java/Properties section add the property mentioned above with the value "false".

You can read more about this at:
http://developer.apple.com/documentatio ... rties.html

We have also improved the performance when editing large RNG schemas and the fix will be available in the next release.

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

newt
Posts: 38
Joined: Mon Jun 11, 2007 5:12 pm
Location: London
Contact:

Post by newt » Wed Jun 13, 2007 5:23 pm

adrian wrote:Hello,

For improving the performance of the schema browsing you can try to set the value of the runtime system property "apple.awt.graphics.UseQuartz" to "false" in the "info.plist".
Perfect! Orders of magnitude faster
Thank you

cheers

nic
Director, Corbas Consulting
XML and eBook consultancy and training

Post Reply