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 112510

Summary: Frequently run into CPU 100% and sometimes "Out of Memory" problems when opening and browsing source files that are part of a large source bundle jar file
Product: java Reporter: sstanojevic <sstanojevic>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: here you will find my various "out of memory" errors.
thread dump taken when cpu was 100% and netbeans was very sluggish

Description sstanojevic 2007-08-09 22:32:23 UTC
Still unsure of the cause, but when I do "Navigate --> Go to class..." and open up a source file, it would seem that if
that source file is packaged in a fairly large jar bundle file, then Netbeans has some serious problems dealing with it.
 In my case, I have noticed this when I try to browse the Glassfish App Server's source files, which are conveniently
packaged in one big jar file.  That's why I think it may have something to do with the size of the source jar file.

The usual symptoms are that the netbeans java.exe process starts consuming 100% CPU for a minute or so, and at times I
will also get the "Out of memory" error.  This will happen practically on every single file I try to open up from that
source bundle.  It is very aggravating as it freezes the IDE for minutes at a time.  It is particularly aggravating when
I'm debugging my project where I need to jump around the various classes.  It takes me forever to do this.
Comment 1 sstanojevic 2007-08-09 22:34:01 UTC
Created attachment 46434 [details]
here you will find my various "out of memory" errors.
Comment 2 Jana Maleckova 2007-08-10 13:34:30 UTC
can you please enclose thread dump caught when you feel Ide is frozen ?
from your provided information it not possible to recognize what happened
Comment 3 sstanojevic 2007-08-15 16:37:25 UTC
Created attachment 46673 [details]
thread dump taken when cpu was 100% and netbeans was very sluggish
Comment 4 Jan Lahoda 2007-08-27 13:24:23 UTC
Could you please try a current trunk build? You can download one from here:
http://bits.netbeans.org/download/6.0/nightly/latest/

Thanks.
Comment 5 Quality Engineering 2007-09-20 12:07:00 UTC
Reorganization of java component
Comment 6 Jan Becicka 2008-02-25 16:08:36 UTC
This issue is not valid in current builds any more. Java support was completely
redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.