This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 219566 - LowPerformance took 10130 ms.
Summary: LowPerformance took 10130 ms.
Status: RESOLVED DUPLICATE of bug 218828
Alias: None
Product: cnd
Classification: Unclassified
Component: D-Light (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-10-05 03:47 UTC by Exceptions Reporter
Modified: 2012-10-24 13:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193087


Attachments
nps snapshot (24.12 KB, application/nps)
2012-10-05 03:47 UTC, Exceptions Reporter
Details
the netbeans profiler snapshot (857.50 KB, application/octet-stream)
2012-10-24 10:40 UTC, pzgyuanf
Details
cut version gdb log file (19.83 KB, text/x-log)
2012-10-24 11:24 UTC, pzgyuanf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-10-05 03:47:45 UTC
This bug was originally marked as duplicate of bug 218828, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.10-b01-428, Java(TM) SE Runtime Environment, 1.6.0_35-b10-428-11M3811
OS: Mac OS X
Maximum slowness yet reported was 10130 ms, average is 10130
Comment 1 Exceptions Reporter 2012-10-05 03:47:47 UTC
Created attachment 125422 [details]
nps snapshot
Comment 2 Andrew Krasny 2012-10-19 10:46:34 UTC
Hi!

Actually this is indeed the duplicate of the mentioned bug. The problem is that the fix was not done in time for beta build... So, you can try some recent nightly build.

Thanks, 
=Andrew

*** This bug has been marked as a duplicate of bug 218828 ***
Comment 3 pzgyuanf 2012-10-20 15:11:39 UTC
Sounds good.
Another performance issue, when I debug a project which malloc 500M memory,
it is very slow, UI even frozen.

BTW., as I back to C development for big data, so I have switched to lightweight IDE now.

Anyway, thanks for Netbeans team providing the great IDE for java these years.

Thanks,
Pprun
Comment 4 Egor Ushakov 2012-10-23 09:39:24 UTC
(In reply to comment #3)
> Another performance issue, when I debug a project which malloc 500M memory,
> it is very slow, UI even frozen.

How much total memory is there on the machine? Have you got slowness reports from this case in particular?
Comment 5 pzgyuanf 2012-10-24 10:36:30 UTC
The latest slow report to:
http://statistics.netbeans.org/analytics/exception.do?id=621567

Running as the normal mode, the program does not use memory memory, at most 50M, this issue still present.
So please don't focus on my latest comment (500M memory, which was the big-mem mode).

The GDB log attached following
Comment 6 pzgyuanf 2012-10-24 10:40:46 UTC
Created attachment 126442 [details]
the netbeans profiler snapshot

the netbeans profiler snapshot
Comment 7 Egor Ushakov 2012-10-24 10:44:47 UTC
thanks, it looks like terminal is spending too much time in EDT, will address the issue as the bug 220726
Comment 8 pzgyuanf 2012-10-24 11:24:30 UTC
Created attachment 126454 [details]
cut version gdb log file
Comment 9 pzgyuanf 2012-10-24 11:28:00 UTC
The gdb log file is very large 41.8M.
I almost find the cause, it seems the gdb eats/prints the input (the content of a tag in the indexing file).
And because the body of the tag is very large, so the slowness.

The attached cut version, removing most the text (char *), 
please find or grep the pattern "<many text was removed here>".

Therefore, the key point is how to avoid this case, 
as currently I am using codelite IDE, it works fine.
Comment 10 Maria Tishkova 2012-10-24 13:14:24 UTC
Hi, 

I will close this particular issue as duplicate of 218828 as original problem reported here is the duplicate of bz#218828.

The problem with gdb is recored as issue  http://netbeans.org/bugzilla/show_bug.cgi?id=220726 

Please use the bz#220726 to track slowness problem while debugging. 

Thanks,
Maria

*** This bug has been marked as a duplicate of bug 218828 ***