Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1269

Find usages is very slow in Netbeans 9.0 & 10.0 and it sits a long time at Initializing data and Usages progress bar, in some cases without showing any progress at all

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 9.0, 10.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Netbeans 9.0 based on jdk-10.0.1 on Windows 10 Pro
      Netbeans 10.0 based on OpenJDL11 on Windows 10 Pro

      Description

      Find usages in Netbeans 9.0 is very slow (compared to Netbeans 8.0.2).

      For example, in our large modular project we have, doing a find usages on any method in any class takes a very long time (4-5 minutes) in Netbeans 9.0. For about half the time, Netbeans 9.0 is just sitting at "Initializing data" and for the other half, it is just sitting at Usages progress bar always showing 0% progress! Then, after a long period of waiting, it just shows the results without even updating the progress bar (or at least you can't tell it is updating the progress bar).

      This all behaves normally under Netbeans 8.0.2 where find usages is showing results right away (as it's scanning) and the whole process takes only a few seconds!

      We've tried bumping up the -J-Xmx setting to 1536m in netbeans.conf and although we see the memory allocated is increasing (in Task Manager), Netbeans 9.0 behaves the same way.

      I'm wondering if anybody else is experiencing this. Is there any workaround for this issue? This affects our day to day work very significantly since we rely on fast 'find usages' operations all the time in our analysis & coding work.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ciprianb Ciprian Bulboaca
              • Votes:
                4 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: