Heavy CPU usage using Author Component Applet on Mac
Oxygen general issues.
-
- Posts: 29
- Joined: Tue Feb 25, 2014 12:14 am
Heavy CPU usage using Author Component Applet on Mac
Post by david.badger »
We've noticed extremely high CPU usage on Mac machines running the oXygen applet v. 16.1.
We are able to reproduce the issue on two Macs.
Machine #1:
MacBookAir5,2
OS X Yosemite 10.10.2
1.8 Ghz Intel Core i5
Java JRE 1.8.0_31
Chrome 40.0.2214.115
Safari 8.0.3
Machine #2:
MacbookAir5,1
OS X Yosemite 10.10.2
2 Ghz Intel Core i7
Java 8 (Update 31) 1.8.0_31
Chrome 40.0.2214.115
Safari 8.0.3
The issue is reproducible when using both Safari & Chrome. CPU seems to spike when I am using the applet—focusing on fields, typing text, etc. CPU usage is reported as high as 350%.
We are able to reproduce the issue on two Macs.
Machine #1:
MacBookAir5,2
OS X Yosemite 10.10.2
1.8 Ghz Intel Core i5
Java JRE 1.8.0_31
Chrome 40.0.2214.115
Safari 8.0.3
Machine #2:
MacbookAir5,1
OS X Yosemite 10.10.2
2 Ghz Intel Core i7
Java 8 (Update 31) 1.8.0_31
Chrome 40.0.2214.115
Safari 8.0.3
The issue is reproducible when using both Safari & Chrome. CPU seems to spike when I am using the applet—focusing on fields, typing text, etc. CPU usage is reported as high as 350%.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Heavy CPU usage using Author Component Applet on Mac
Hi David,
We do not have MacBook Air so I tested on a MacBook Pro using the same configuration you have:
When typing fast and performing different operations the applet took about 30% of the CPU. But MacBook Air has worse CPU performance so the problem might still be there.
Could you try to reproduce the issue with one of the sample applets we have on our web site?
http://www.oxygenxml.com/demo/AuthorDem ... -dita.html
We need to establish if the performance problem is caused by the applet base code or by one of your Java customizations (if you made any customizations to the applet).
Regards,
Radu
We do not have MacBook Air so I tested on a MacBook Pro using the same configuration you have:
Code: Select all
OS X Yosemite
Java JRE 1.8.0_31
Chrome 40.0
Could you try to reproduce the issue with one of the sample applets we have on our web site?
http://www.oxygenxml.com/demo/AuthorDem ... -dita.html
We need to establish if the performance problem is caused by the applet base code or by one of your Java customizations (if you made any customizations to the applet).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 29
- Joined: Tue Feb 25, 2014 12:14 am
Re: Heavy CPU usage using Author Component Applet on Mac
Post by david.badger »
Hi Radu,
They are able to replicate the same high CPU load on the default applet you sent. Is there any other information we can give you?
Thanks,
Dave
They are able to replicate the same high CPU load on the default applet you sent. Is there any other information we can give you?
Thanks,
Dave
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Heavy CPU usage using Author Component Applet on Mac
Hi Dave,
We do not yet have an explanation for this. We profiled the applet on a MacBook pro and found no serious performance problems with it, the CPU never jumped over 30% when actively editing.
We will try to find a MacBook Air and test on it, get back if we find anything.
Could you or the end users try something? Are they editing with the spell checker turned on? Could they turn it off?
I'm interested if the automatic spell checking leads to this performance decay.
The standard test applet on our website has this option to toggle the auto spell checker on the contextual menu.
Regards,
Radu
We do not yet have an explanation for this. We profiled the applet on a MacBook pro and found no serious performance problems with it, the CPU never jumped over 30% when actively editing.
We will try to find a MacBook Air and test on it, get back if we find anything.
Could you or the end users try something? Are they editing with the spell checker turned on? Could they turn it off?
I'm interested if the automatic spell checking leads to this performance decay.
The standard test applet on our website has this option to toggle the auto spell checker on the contextual menu.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Heavy CPU usage using Author Component Applet on Mac
Hi Dave,
I tested the sample applet on our web site:
http://www.oxygenxml.com/demo/AuthorDem ... -dita.html
with a MacBook Air (1.8 GHZ, i15) with the latest Java (probably 1.8 update 40) and latest Chrome.
I used the Activity Monitor to monitor the applet process, I tried fast text editing and using toolbar actions but could not make it jump over 50% CPU.
So I'm sorry but I cannot yet reproduce this issue. Can you reproduce this on your side? Does this affect all users who have Mac Air? Or only some of them?
Regards,
Radu
I tested the sample applet on our web site:
http://www.oxygenxml.com/demo/AuthorDem ... -dita.html
with a MacBook Air (1.8 GHZ, i15) with the latest Java (probably 1.8 update 40) and latest Chrome.
I used the Activity Monitor to monitor the applet process, I tried fast text editing and using toolbar actions but could not make it jump over 50% CPU.
So I'm sorry but I cannot yet reproduce this issue. Can you reproduce this on your side? Does this affect all users who have Mac Air? Or only some of them?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 29
- Joined: Tue Feb 25, 2014 12:14 am
Re: Heavy CPU usage using Author Component Applet on Mac
Post by david.badger »
Hi RAdu,
Thanks for your prompt response. I've followed up with the client and they seem to be having problems with Java 7 in particular, although it doesn't seem like the CPU utilization issue is still a problem. Once they get back with me, I'll start a new thread. If they're able to consistently reproduce the CPU issue, I'll post here.
Thanks,
Dave
Thanks for your prompt response. I've followed up with the client and they seem to be having problems with Java 7 in particular, although it doesn't seem like the CPU utilization issue is still a problem. Once they get back with me, I'll start a new thread. If they're able to consistently reproduce the CPU issue, I'll post here.
Thanks,
Dave
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service