Background transformation?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
pb
Posts: 12
Joined: Wed Jun 15, 2005 5:43 pm
Contact:

Background transformation?

Post by pb »

Hi,

I'm transforming hundreds of files by selecting them from the project view and choosing 'transform with'. This works like a charm, but has the disadvantage that while these files are processed (which can easily take 15 minutes) I can't do any other work in oXygen. Is there a way to have these transformations executed in the background?

Thanks,
Peter
Radu
Posts: 9437
Joined: Fri Jul 09, 2004 5:18 pm

Re: Background transformation?

Post by Radu »

Hi Peter,

Indeed, because of the Progress dialog being displayed during the transformation you cannot do something else in the meantime.
We'll try to find a fix for this in a next version (like a "Work in background" option).

In the meantime you can open multiple Oxygen instances, have one transform your project files and use the other for editing.
If you are running Oxygen on Windows you have to edit the oxygen.vmoptions file located in the install folder, adding the parameter -Dcom.oxygenxml.MultipleInstances=true so that the file content looks like: -Xmx256m -Dcom.oxygenxml.MultipleInstances=true
The "Xmx" value represents the maximum memory for each application instance. Please make sure you tune them in a way that the multiple editor instances won't use all the available physical memory.
On MAC you have to add the startup parameter

-Dcom.oxygenxml.MultipleInstances=true

to the Info.plist file of the Oxygen bundle. For that you have to Ctrl + click on the Oxygen icon, select Show Package Contents, go in the Contents folder and edit the file Info.plist. Add the parameter to the value of the key VMOptions. Before adding the parameter the key is:

<key>VMOptions</key>
<string>-Xss650K -Xms32M -Xmx256M -XX:SoftRefLRUPolicyMSPerMB=0</string>

After adding the parameter the key should be:

<key>VMOptions</key>
<string>-Xss650K -Xms32M -Xmx256M -XX:SoftRefLRUPolicyMSPerMB=0 -Dcom.oxygenxml.MultipleInstances=true</string>
On Linux this multiple-instances behaviour is default.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply