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 247538 - org.openide.text.DataEditorSupport.superSaveDoc: Save All took 38 s.
Summary: org.openide.text.DataEditorSupport.superSaveDoc: Save All took 38 s.
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
Depends on:
Reported: 2014-09-29 06:59 UTC by arittner
Modified: 2017-07-06 08:49 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 212305

nps snapshot (40.91 KB, application/nps)
2014-09-29 06:59 UTC, arittner

Note You need to log in before you can comment on or make changes to this bug.
Description arittner 2014-09-29 06:59:27 UTC
This bug was originally marked as duplicate of bug 209081, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-2120-on-20140914)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
arittner: Low Performance on save files.

Maximum slowness yet reported was 38380 ms, average is 38380
Comment 1 arittner 2014-09-29 06:59:30 UTC
Created attachment 149575 [details]
nps snapshot
Comment 2 Jaroslav Havlin 2014-09-30 07:40:23 UTC
I'm sorry, I cannot reproduce this bug, e.g. Java files are saved in background.

Can you please provide exact steps to reproduce (file type, which button did you click to save the file)?

Thank you.
Comment 3 arittner 2014-09-30 17:43:13 UTC
I've sometimes this performance issue.

At this time up to 10 open Java files. IMHO one or two unsaved. I use extensive static Bundles with @Messages-Annotations. 

I've clicked the save-all button in the toolbar. I use the maven based netbeans platform and I've 192 open projects (modules, apps, cluster suites).

This slowness comes time by time. But haven't any memory issues. I use Java 8 64Bit.
Comment 4 Jaroslav Havlin 2015-03-06 13:44:20 UTC
I'm sorry, I haven't been able to reproduce the bug yet.
Theoretically, similar slowness can be cased by saving of a form file, but this is not the case of profiler snapshot you provided (and it may be necessary to save form in Event Dispatch Thread).
I've tried "Save All" for several java files with NbBundle.Message annotations, but the files were always correctly saved on background.
Didn't you work with some other file types, or frameworks, when the slowness occurred?
Can you reproduce the bug with NetBeans 8.0.2?
Thank you.