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 198095 - 27s - in slow I/O through Maven action
Summary: 27s - in slow I/O through Maven action
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-04-26 15:51 UTC by rptmaestro
Modified: 2011-05-25 16:19 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 162489


Attachments
nps snapshot (10.57 KB, application/nps)
2011-04-26 15:51 UTC, rptmaestro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rptmaestro 2011-04-26 15:51:10 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
rptmaestro: I right-clicked on a node in the Maven Repository Explorer and the IDE became completely unresponsive for a while.

tpistols: building a maven job in another window (outside of IDE) and attempting to open the local repository browser



Maximum slowness yet reported was 27660 ms, average is 11868
Comment 1 rptmaestro 2011-04-26 15:51:15 UTC
Created attachment 107950 [details]
nps snapshot
Comment 2 Jesse Glick 2011-05-02 12:44:27 UTC
Nothing to do with Maven, I think; that just happened to call NbBundle.getMessage. RefreshSlow in masterfs was running - maybe this sucked up all available I/O throughput.
Comment 3 Jaroslav Tulach 2011-05-24 06:59:20 UTC
"slow referesh" is called slow, because it does not consume any I/O.

Rather look at the snapshot that shows 8 battler warmer threads. A bit too much for a single maven is not it?

Or look into messages.log to see exceptions from nexus-maven-repository-index

Or a bunch of activity in parsing. Maybe you'd like to stop maven indexing when parsing is running?
Comment 4 Jesse Glick 2011-05-25 16:19:51 UTC
(In reply to comment #3)
> "slow [refresh]" is called slow, because it does not consume any I/O.

Seems to be calling File.listFiles.

> the snapshot [...] shows 8 [bottle] warmer threads. A bit too much
> for a single maven is not it?

This is just part of Maven Indexer. Anyway eight idle daemon threads would not be causing unresponsiveness.

> Or look into messages.log to see exceptions from nexus-maven-repository-index

Just a repo without an index; probably unrelated.

> Maybe you'd like to stop maven indexing when parsing is running?

If there were some API to detect that parsing was in progress, and Maven Indexer offered some API to pause, then sure.