Thank you to everyone who responded.  I'll try to address the comments and suggests I received.

Yes, this is a Java project.  It uses Ant because, to the best of my understanding, Ant is required to do cross development and debugging for a Raspberry Pi.  If that is possible with Maven, I don't know how to do it.

When all Java, HTML, and a few other resource files are counted, the src directory contains 294 files, 35 folders, and about 3.8MB of data in total.

I had already closed all other inactive projects.  So only the single project I was working on was open.

I had already given NetBeans more memory by editing netbeans.conf to include -J-Xmx2g .  I had a suggestion to raise this to 6g.  I haven't done that yet since 2g is about 3 times more than any actual memory usage I've observed in Task Manager.

I had also already deleted the cache about a week ago, but I did that a second time yesterday.

First I closed the only open project, then shut down NetBeans, and then deleted the cache.  I restarted NetBeans and let it load completely, at least as best I could determine that by watching status messages at the bottom of the window.

With NetBeans up and running, I reopened the project and let it scan until complete.  This took somewhere between 60 and 70 minutes.  I assume that scan was rebuilding the cache.

Subsequent re-launches of NetBeans are taking 20-25 minutes to reopen the project and complete all the initial scans.  But I would say, at the moment, that NetBeans is more responsive than it was.  Not great, but better.

Although the project files are on a file server, I really don't think that is the issue.  The file server and network (gigabit) appear barely utilized while NetBeans scans away.

And NetBeans appears to spend large portions of time scanning unchanging (I assume) NetBeans and Java files in the C:\Program Files.  NetBeans itself is installed on the C: drive.

As a test, I also reopened an older project that is almost the same size as the current one using NetBeans 12.6 on the same computer using the same file server.  That older similar project opened and completed all scans in about 5 minutes using NetBeans 12.6.

At the moment I've been spending my time testing.  I need to get back to work on the project to see if the performance improvements I did see after deleting the cache can be sustained.

Blaine




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to