History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-14045
Type: Bug Bug
Status: Open Open
Assignee: Anna Kozlova
Reporter: Esko Luontola
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

100% CPU usage when opening Quick Doc

Created: 03 Aug 07 01:22   Updated: 24 Sep 07 13:04
Component/s: Code Navigation

File Attachments: 1. Zip Archive 7104_ORFJackal_02.08.2007_23.53.57.zip (3.62 Mb)
2. Zip Archive 7104_ORFJackal_03.08.2007_00.06.11.zip (3.64 Mb)

Image Attachments:

1. whole javadoc page is shown in quick doc.png
(37 kb)
Environment: WinXP, Athlon 64 (single core)
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-14498 CPU pegged at 100% when attempting to... Resolved
IDEA-15224 Resize on ChangeList Details window c... Resolved

Build: 7,104


 Description  « Hide
I got 100% CPU usage when I pressed Ctrl+Q so that my cursor was on the word 'Arrays'. The Quick Doc window opened (the "Fetching JavaDocs..." text was visible) and it took about 40 seconds for the javadocs of the class to show up. During this time the GUI of IDEA was frozen and idea.exe had 100% CPU usage. Finally the javadocs anyways opened.
Object[] parameters;
...
System.out.println("parameters = " + Arrays.toString(parameters));

It also took some seconds to open Quick Docs for classes such as java.util.List (4 seconds) and java.lang.Class (15 seconds). Could this have something to do with the size of the javadoc page?

I have the Java 6 API's javadocs installed locally on my hard drive, in the "C:\Program Files\Java\jdk1.6.0_02\docs" folder. I took two CPU snapshots from opening Quick Doc for java.util.Arrays. In the latter snapshot I had Norton Anti-Virus disabled, but this did not make it any faster.

I also took a memory snapshot (while in editor, Quick Doc not open), I can upload it if needed (file "7104_ORFJackal_03.08.2007_00.10.08.zip") if you tell me where to (what was the FTP address?).



 All   Comments   Work Log   Change History      Sort Order:
Esko Luontola - 04 Aug 07 22:19
The problem might be that IDEA shows the whole javadoc page in the quick doc window, even though only the top part of it is needed. See the screenshot. It takes about 40 seconds CPU time to load this on a Athlon 64 3400+.