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 - 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
Summary: Frequently run into CPU 100% and sometimes "Out of Memory" problems when open...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-09 22:32 UTC by sstanojevic
Modified: 2008-02-25 16:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
here you will find my various "out of memory" errors. (163.98 KB, text/plain)
2007-08-09 22:34 UTC, sstanojevic
Details
thread dump taken when cpu was 100% and netbeans was very sluggish (15.76 KB, text/plain)
2007-08-15 16:37 UTC, sstanojevic
Details

Note You need to log in before you can comment on or make changes to this bug.
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.