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.
Summary: | CodeCompletion took 2346 ms. | ||
---|---|---|---|
Product: | java | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Compiler | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | akobberup, brettryan, rafaoliva |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 175397 |
Attachments: | nps snapshot |
Description
Exceptions Reporter
2014-03-06 22:19:08 UTC
Created attachment 145821 [details]
nps snapshot
Extermely slow parsing without a particular reason. Perhaps, IDE was running out of the memory as confirmed by brettryan: IDE always has bouts of slowness, also get a lot of low memory alerts. Has to be fixed by finding and fixing memory leaks. Dusan, could you consider revisiting with an internet connection that does not work. To elaborate this bug is present when an internet connection is present, the DNS server resolves host names, yet the connection drops packets. This results in timeouts to occur. To elaborate further on real world scenarios where these conditions are met is with a corporate VPN where internet traffic is rejected yet the corporate DNS server resolves names. Unfortunately i am stuck with these exact conditions which the IDE does not support very well. brettryan, do you have your sources on the remote disc accessible via VPN? Or what is the particular role the internet connection plays in your scenario? My companies central git repository and databases are remote, however connecting to these is fine, the problem arises when other components within the IDE try to access remote resources unrelated to my company. For example, if I edit an XML file which contains shemaLocation references and I invoke code completion reactor kicks in and tries to download the XSD but never completes. Other conditions are if I invoke code completion in a Java file it will try to show me the help even though I already have local sources but fails (maven project). Also when I try to navigate sources through CTRL+Click, it will fail again even though I have local sources. If I disable my internet connection entirely the IDE behaves normally showing me the help and allowing me to navigate sources, it's only when the Internet connectin is enabled but the firewall at the other end intentionally drops packets for requests outside our network, unfortunately the mode is strict and doesn't send any response. Slowness will always occur when these conditions are met, while I can disable Internet it then means I can't access my companies maven server, work with git, use my companies databases, therefor it's not really an option. Problem with displaying remote Javadoc fixed. http://hg.netbeans.org/jet-main/rev/bd8b182bf04d Please file a separate bug against XML editor describing your problems with shemaLocation references in XML code completion. Thanks. |