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 172150 - IDE completely frozen by slowness reporter
Summary: IDE completely frozen by slowness reporter
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jindrich Sedek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 10:32 UTC by Petr Hejl
Modified: 2011-05-24 16:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
1st threaddump (27.51 KB, text/plain)
2009-09-14 10:32 UTC, Petr Hejl
Details
2nd threaddump (30.28 KB, text/plain)
2009-09-14 10:33 UTC, Petr Hejl
Details
ide log (61.19 KB, text/plain)
2009-09-14 10:33 UTC, Petr Hejl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2009-09-14 10:32:15 UTC
Adding a plugin to my Grails project via UI. This fire FS FileUtil.refreshFor in event thread and slowness reporter is
trying to report it. So far so good.

However such attempt leads to OOME quite often and IDE is unusable since then (only kill -9 works). Attaching
threaddumps, messages.log. I can provide heapdump as well (it is 65MB when compressed).

I remember I saw same behavior in another case.
Comment 1 Petr Hejl 2009-09-14 10:32:52 UTC
Created attachment 87586 [details]
1st threaddump
Comment 2 Petr Hejl 2009-09-14 10:33:18 UTC
Created attachment 87587 [details]
2nd threaddump
Comment 3 Petr Hejl 2009-09-14 10:33:51 UTC
Created attachment 87588 [details]
ide log
Comment 4 Jindrich Sedek 2009-09-14 15:40:43 UTC
Why is this issue assigned to logger? There is now logger line in threaddump neither ide log. All info is pointing me 
to a problem in groovy or Parsing infrastructure that fails because of lack of memory. 

Could you place heapdump somewhere (for example to beetle) so I could download it? It's possible that profiler self 
sampling takes some memory, but it won't run during FCS builds, so we should more likely optimize groovy than logger.
Comment 5 Petr Hejl 2009-09-14 15:49:17 UTC
Feel free to reassign to proper component. Is there any for slowness detector? I though this is the right one.

Neither groovy nor parsing is cause of this (without slowness detector it works quite fine). Slowness detector is imo
the indirect cause of OOME.
Comment 6 Jindrich Sedek 2009-09-15 13:01:44 UTC
I had problems with reading heapdump because of issue #172256, but I tried to lower memory consumption while invoking 
notification

fixed.
4166d888a9d0
Comment 7 Quality Engineering 2009-09-18 22:49:21 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4166d888a9d0
User: Jindrich Sedek <jsedek@netbeans.org>
Log: issue #172150 - IDE completely frozen by slowness reporter