Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 8
rafaoliva: Execute a archive main.
GUEST: <Please provide a description of the problem or the steps to reproduce>f
GUEST: I was adding "System.out.println" to an event handler, lag seem to be associated with showing javadoc.
brettryan: IDE always has bouts of slowness, also get a lot of low memory alerts.
This has been something I have been seeing a lot in the 7.x series but getting worse with each revision.
GUEST: replacce any code SwingX JxHeader
Maximum slowness yet reported was 5227 ms, average is 3503
Created attachment 145821 [details]
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.
Please file a separate bug against XML editor describing your problems with shemaLocation references in XML code completion. Thanks.