[
https://issues.apache.org/jira/browse/NETBEANS-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17186083#comment-17186083
]
Alonso del Arte commented on NETBEANS-4730:
-------------------------------------------
Have you tried disabling background scanning of projects for external changes?
It may or may not help in your situation, but it sure did help on my old
Gateway.
> Code completion is very slow on larger PHP projects
> ---------------------------------------------------
>
> Key: NETBEANS-4730
> URL: https://issues.apache.org/jira/browse/NETBEANS-4730
> Project: NetBeans
> Issue Type: Bug
> Components: php - Code Analysis
> Affects Versions: 12.0, 11.2
> Environment: Windows 10 64bit
> 20GB RAM (NB peak is usually around 2GB)
> Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (4 phys cores, 8 logical)
> Reporter: Matěj Kmínek
> Priority: Major
> Labels: codecompletion
> Attachments: netbeans_stuck.nps
>
>
> I'm currently working on PHP project. Project is composed using composer,
> using our subgit modules. Currently we have around 70 modules in the project.
> Each module consists from up to 15 php classes.
> Code Completion got already very slow with such amount of files. It takes me
> up to 13-20 secs to invoke code completion to see list of some object methods
> (including $this-> , which I guess could be extremely fast).
> Steps taken to try to fasten up a bit:
> * Removed project folder from Window Defender scanner - problem persisted
> with no noticeable speedup
> * Disabled Windows Defender completely - problem persisted with no
> noticeable speedup
> * Updated from NB 11.2 to 12.0 - problem persisted with no noticeable speedup
> * Changed Java SDK from 12.0.1 to 14.0.2
> * Tried set max heap memory limit to 4GB - problem persisted with no
> noticeable speedup
>
> Invocation of code completion popup rises processor usage from <10% to around
> 50%. Also, increased memory usage to about 2GB.
>
> As the system I am writing is proprietary, I cant simply send the source
> code. However we can definitely arrange some online screensharing using Skype
> / Hangouts, or VNC to online test.
> Attaching snapshot of one code completion invocation.
>
> During searching the issues, I found out there could be a problem with some
> native windows related file listing functions - perhaps the problem lies
> there? But I tried another IDEs, which works flawlessly on this big project,
> so they either use some different functions or there could be truly a bug in
> NB.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists