Oxygen-20.0 is CPU-hogging

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Ron Van den Branden
Posts: 65
Joined: Fri Jan 18, 2008 5:54 pm

Oxygen-20.0 is CPU-hogging

Post by Ron Van den Branden »

Hi,

On my Windows 7 (64bit) PC, Oxygen-20.0 (build 2018032903) tends to swallow lots of CPU when it's left idling. Even though I'm not doing anything in Oxygen, CPU will often rise to 10-20%, and the PC fan goes fanning. This was not the case with previous versions of Oxygen. Unfortunately, I'm not aware of more insightful sources of information - is there an Oxygen log file anywhere?

Kind regards,

Ron
Ron Van den Branden
Posts: 65
Joined: Fri Jan 18, 2008 5:54 pm

Re: Oxygen-20.0 is CPU-hogging

Post by Ron Van den Branden »

One more observation: switching perspectives (e.g. from "Editor" to "XSLT Debugger") seems to drop CPU usage for a while.
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Oxygen-20.0 is CPU-hogging

Post by adrian »

Hello,

Thank you for the feedback. We have recently become aware of this issue.
Unfortunately this is a known bug in Java 8u162 which comes bundled with Oxygen v20.0. There are no proper workarounds that we know of.
One solution that we are currently contemplating is downgrading to the previous version, Java 8u152.

To replace the Java runtime that is bundled with Oxygen follow these steps:
1. Download Java SE Runtime Environment (JRE) 8u152. You can download the JRE in the tar.gz format for Windows of the same architecture as the Oxygen kit/installation (x86=32bit / x64=64bit).
2. Navigate to the Oxygen installation folder and rename the 'jre' folder to 'jre.old'.
3. Unpack the tar.gz (you can use 7-Zip) and rename the extracted folder to 'jre'.
4. Move the 'jre' folder to the Oxygen installation folder.
5. Check the paths of the jre folder, the java 'bin' folder should be: Oxygen/jre/bin
6. Start Oxygen and check the Java version in: Help > About, System properties, "java.runtime.version", should be 1.8.0_152

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Ron Van den Branden
Posts: 65
Joined: Fri Jan 18, 2008 5:54 pm

Re: Oxygen-20.0 is CPU-hogging

Post by Ron Van den Branden »

Hi Adrian,

Good to know you've already identified the problem, and thanks for the detailed instructions! I've successfully replaced the JRE with the previous version, I trust this will improve the situation.

Best,

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

Re: Oxygen-20.0 is CPU-hogging

Post by adrian »

Hi,

I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 20.0, 2018042410 (released on April 26th):
Windows/JRE: Upgraded bundled JRE to 8u172 to avoid some issues regarding high CPU usage and JavaFX instability that are known to affect 8u162 on Windows.
You can download it from our web site:
http://www.oxygenxml.com/download.html

The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2018042410

You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml

To upgrade, you can install the new build in the same folder as the previous installation, it will automatically upgrade it.
Before you upgrade, if you have added files or made changes to any of the files from the Oxygen installation folder(especially the frameworks folder), you may want to create a backup of them because they will be overwritten during the upgrade procedure. Custom frameworks will be preserved but we recommend backing them up anyway, just to be safe.
The Oxygen preferences will be preserved since they are located elsewhere (user home folder).

Let us know if you encounter further problems with this new build.

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