Hi Blaine,

~260 classes shouldn't cause any performance problems (I assume java classes or is this PHP?).

I actually just opened all netbeans modules so that I can run some project wide cleanups, and that would be ~450 projects i think. I haven't timed it but it usually takes about 5mins of scanning when I open this project group. So there must be something else going on here.

What project type is this? Have you tried to load the project to local disk to exclude the network?

File access will be significantly slower over the network no matter what you do.

-mbien

On 13.02.24 16:34, Blaine Heinfeld wrote:

I am trying to understand and resolve a severe performance issue with NetBeans 19 running on Azul Java 11.0.13; OpenJDK 64-Bit Server VM 11.0.13+8-LTS.

My project consists of about 260 classes and has probably around 75,000 lines of total text, including some extensive HTML documentation files.  The project is still growing. and will probably get 15-20% larger.

Simply opening the project and letting it complete all of the startup scans takes about 20 minutes on an otherwise idle computer.  When opening a 100 line class file, the Navigator pane displaying method names just took about 4 minutes to populate.

Double clicking on a method name in the Navigator pane gives me a "Lengthy operation in progress" "Calculating declaration position" message that stays on the screen for about a minute.

Even clicking on a menu can result in delays and a wait cursor for a period of time. Everything in NetBeans seems very slow.

During all this, the computer hosting NetBeans shows no CPU, memory, or network constraints.  The project files are on a NAS which also shows no performance issues.

And I'm not experiencing performance issues with other applications on the same computer using the same NAS.  The issue really seems restricted to NetBeans.

When I started this project I didn't have these issues.  But it does appear they have gotten worse over time and as the project gets bigger.

Any ideas about what might be happening and how to fix it?  My first guess would be that NetBeans is memory constrained in some way, but that would need to be some NetBeans setting.  The computer shows over 8GB of free memory with NetBeans using under 600MB.

Blaine


Reply via email to