Aptana Studio 3 with PHP - persistent indexing

I use Aptana Studio 3 with several large PHP projects (10.000+ files), and it suffers from very slow indexing of PHP files .... which takes 10-20 minutes to complete and run each time Aptana starts, as well sometimes at random moments, for example, when synchronizing with SVN ...

In the progress view, I get a few "Indexing new PHP modules" elements. Aptana has been doing this all too slowly. I don’t understand why this indexing starts over and over again on files that are not new at all!

I have already disabled auto-update and auto-build. If you exclude “PHP” from “Project Natures” in the project properties, indexing will stop, but then I don’t have code completion in the PHP files.

I cleaned up all the projects, created a new workspace, etc., and nothing helps ... This happens on multiple computers (Windows), so I think more people get this behavior.

Any possible solutions?

UPDATE

I added the folder of my workspace to the "ignore" folders of my antivirus (Microsoft Security Essentials). At first it seemed to work, but then indexing started again ...

+4
source share
1 answer

It looks like you took the right steps to try to resolve it, and it also seems like we should have a ticket for this, so I created it at https://jira.appcelerator.org/browse/APSTUD-4500 (add yourself as " observer ").

One more thing to try and break up a large project into several smaller ones (if possible, of course). The indexer creates a binary index file for each project, and this file size is proportional to the number of classes, functions, variables and constants that you have in your project. If for some reason (for example, an error) this file is damaged, a repeated index will occur, so several small projects can help. Again ... just an idea.

+2
source

Source: https://habr.com/ru/post/1401486/


All Articles