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 114961 - IDE hangs or crashed or is very slow when RE operation
Summary: IDE hangs or crashed or is very slow when RE operation
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2007-09-06 23:51 UTC by Sherry Zhou
Modified: 2007-09-11 17:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (17.46 KB, application/octet-stream)
2007-09-06 23:53 UTC, Sherry Zhou
Details
log file on windows (17.42 KB, application/octet-stream)
2007-09-06 23:54 UTC, Sherry Zhou
Details
threaddump on sparc (16.44 KB, application/octet-stream)
2007-09-06 23:55 UTC, Sherry Zhou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sherry Zhou 2007-09-06 23:51:28 UTC
beta1 build 0709050000 or 0709060000

1. Open attached project and reverse engineer.
2. Create sequence diagram for operation test>basic>testConditionIf 

Tested on 4 different systems and here are the results.
1. IDE crashed on windows xp which is 1GHz CPU, 1GB RAM. It complains stack overflow. The log 
file hs_err_pid764.log can be found in attachment.
2. IDE hangs on solaris sparc which is 1GHz CPU, 2GB RAM. The threaddump can be found in attachment
3. IDE is very slow on another windows system and ubuntu. Both systems have 2GHz CPU and 2GB RAM
Comment 1 Sherry Zhou 2007-09-06 23:53:20 UTC
Created attachment 48344 [details]
project
Comment 2 Sherry Zhou 2007-09-06 23:54:19 UTC
Created attachment 48345 [details]
log file on windows
Comment 3 Sherry Zhou 2007-09-06 23:55:06 UTC
Created attachment 48346 [details]
threaddump on sparc
Comment 4 Peter Lam 2007-09-07 18:45:58 UTC
Just go straight to reverse engineer operation to sequence diagram the 3rd operation "testConditionIf3" from class
testConfitionIf. After the sequence diagram is generated and displayed, the memory usage jumped up to 515+MB and then
came down immediately to ~3MB and the the memory usage for all other processes in the whole system causing the whole
system to be not responsive at all.
Comment 5 Peter Lam 2007-09-07 18:53:36 UTC
ops, comment not yet completed.
... the memory usage for all other processes in the whole system went crazy (memory usage all went down to just around
2-3MB) as well and causing the whole system to be not responsive at all. The source for the 3rd operation
"testConditionIf3" seems to be complicated with lots of combined fragments filing up in the generated sequence diagram.
Maybe the source is too complicated to handle.
Comment 6 Kris Richards 2007-09-07 18:55:35 UTC
[update] this does not occur on Mac. No memory issue at all. Checking XP and Solaris.
Comment 7 Viktor Lapitski 2007-09-08 02:47:43 UTC
fixed.
Comment 8 Viktor Lapitski 2007-09-10 07:26:21 UTC
comitted the fix into realease60_beta1 branch also.
Comment 9 Peter Lam 2007-09-11 06:36:43 UTC
verified in beta 1 build 200709101200. 
Sherry, Please verify in your platforms as well. thanks.
Comment 10 Sherry Zhou 2007-09-11 17:45:30 UTC
verified on beta1 build 200709101200. Tested on a Solaris and XP system which IDE has hang . 
The problem is gone.