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 246542 - UI freeze for tens of seconds
Summary: UI freeze for tens of seconds
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-19 09:12 UTC by Tomas Mysik
Modified: 2014-08-19 11:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (32.80 KB, text/plain)
2014-08-19 09:12 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2014-08-19 09:12:10 UTC
Created attachment 148758 [details]
thread dump

The IDE suddenly froze for tens of seconds. It seems that the logger is the cause, see the attachment.

Thanks.
Comment 1 Martin Entlicher 2014-08-19 11:42:10 UTC
The logger is blocking AWT thread, because it's likely, that recordsToWriteOut.get() > MAX_RECORDS_TO_WRITE_OUT and we prevent from OOME by waiting on the write task.
We could perhaps make the write more efficient. Also, we can consider reducing multiple identical logs into one and report the count.