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 195274 - IDE poisoned by too much of mercury
Summary: IDE poisoned by too much of mercury
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 08:35 UTC by Tomas Zezula
Modified: 2011-02-16 11:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Snapshot (81.78 KB, application/octet-stream)
2011-02-10 08:36 UTC, Tomas Zezula
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2011-02-10 08:35:07 UTC
When running IDE with ant tryme, the IDE is very very slow.
The hg support creates tons of threads which run hg even the ^nbbuild/testuserdir$ is excluded, so ant tryme which is the way how the IDE is run for testing is completely useless.
Comment 1 Tomas Zezula 2011-02-10 08:36:11 UTC
Created attachment 105829 [details]
Snapshot
Comment 2 Tomas Zezula 2011-02-10 08:39:32 UTC
The attached snapshot is a scan of single root glassfish.common which took 7 minutes in hg.
Comment 3 Tomas Stupka 2011-02-10 10:16:21 UTC
hm, poisoned by too much mercury... 
we will see what we can do about it. As a workaround at the moment you could try some alternative therapy including Chelation, Colon Cleanse, and nutrition.
Comment 4 Tomas Zezula 2011-02-10 10:21:38 UTC
Yes.
I've removed several non needed usages of FileObjects in caches, this helps significantly. Unfortunately the files generated by AP may be opened in Editor so the FileObject is required by EditorSupport.
Comment 5 Ondrej Vrabec 2011-02-10 11:27:30 UTC
fix: http://hg.netbeans.org/core-main/rev/fbd50a271ae1
Comment 6 Tomas Zezula 2011-02-10 11:31:17 UTC
jet-main c224775dfc4d - using Files rather than FileObjects in caches -> improves performance.
Comment 7 Ondrej Vrabec 2011-02-10 11:35:21 UTC
i pushed a hotfix, ignored userdirs are skipped in mercurial interceptor. I think th best will be to exclude userdirs completely out of versioning control: filed a separate RFE: bug #195284
Comment 8 Tomas Zezula 2011-02-10 11:37:55 UTC
Makes sense.
Comment 9 Quality Engineering 2011-02-16 11:33:25 UTC
Integrated into 'main-golden', will be available in build *201102160501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fbd50a271ae1
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: healing the IDE, getting rid of the poison
Issue #195274 - IDE poisoned by too much of mercury