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 256597 - Saving file: high CPU load, much memory in use
Summary: Saving file: high CPU load, much memory in use
Status: RESOLVED DUPLICATE of bug 239360
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.0.2
Hardware: PC Windows Vista
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-14 13:17 UTC by js-java
Modified: 2015-11-16 10:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Pofiling dump while saving (49.38 KB, application/octet-stream)
2015-11-14 13:17 UTC, js-java
Details

Note You need to log in before you can comment on or make changes to this bug.
Description js-java 2015-11-14 13:17:49 UTC
Created attachment 157335 [details]
Pofiling dump while saving

After running a application several times, editing, committing, etc. memory fills up and saving a file gets quite slow. CPU load on all cores goes to 100%. This might be a dup of #237117. Howevet, I'll attach a profileing dump of the save operation.
Comment 1 Miloslav Metelka 2015-11-16 10:53:42 UTC
There are several editor document related memory leaks which should all be fixed in 8.1.
EDT in the snapshot seems to spend time in ComponentUI.update() which is normally unlikely but it could possibly show up if the memory is exhausted due to the memory leaks.
If possible please upgrade to 8.1. If the problem reappears in 8.1 please reopen the issue. Thanks.

*** This bug has been marked as a duplicate of bug 239360 ***