Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Aptana 3 becomes very sluggish with multiple (large) projects, how do I improve performance?

Aptana 3 becomes very sluggish with multiple (large) projects, how do I improve performance?

I have several projects that I checkout of subversion into a dev directory that I can access through Apache as well. Something like this

So if I go to this URL http://local.dev I can see all the project folders. In Aptana it looks like this

+ dev (main project folder that Apache uses as well)
 - project (svn branch I'm currently testing)
 - another_project (another svn branch)
 - yet_another_project (yep, another svn branch)

So to access the project form the URL I don't need to configure Apache every time, I just need to access the project folder like this http://local.dev/project or http://local.dev/another_project

The problem is these project are very large (Prado, Zend and Drupal frameworks as well as additional Libraries as needed) and I could have multiple branches of the same project checked out into different folders. Aptana indexes all of this which is what I think the problem is. I know I could create a project for each of these within Aptana itself and close the project if I'm not using it but I don't see the option to do this to a folder within the project (which I think should solve my problem), but if I do separate project folders that I also need to setup Apache to point to the new location, which is another pain in itself.

Is there a way to close a sub-folder in a project folder in Aptana? or have a sub-project folder? or Close a folder within a project? or exclude indexing of a folder? or turn off indexing?

NOTE: Sometimes when adding a new folder within a project I get the out of memory warning and/or Aptana crashes. Also when coding Aptana becomes so sluggish that it's very cumbersome to do anything at all. I really love the Aptana IDE but this might be a deal breaker for me.

I was thinking I would move the Apache site to the Aptana root directory so I could access it on a project level but I don't think this will work for the indexing performance on the Aptana side of things.

UPDATE: This might be related:

  • http://jira.appcelerator.org/secure/EditComment!default.jspa?id=75032&commentId=169647

Looks like Aptana is indexing the .svn folders

UPDATE:

So far the only thing to help is to make a new workspace for each project I need to checkout of svn. This is a pain to switch back and forth between projects but Aptana is usable again.

UPDATE #2

  • http://jira.appcelerator.org/browse/APSTUD-1706

Looks like this made the Aptana BUG list, Yeah!

UPDATE #3

After countless tinkering to get Aptana to play nice I decided to test other IDE's.

Started with Eclipse as that's what Aptana is based from. I have a nice build going but it's still not 100% what I was looking for.

Also trying PHPStorm which is paid IDE but I'm finding it's a top notch IDE

like image 320
Phill Pafford Avatar asked Oct 12 '11 16:10

Phill Pafford


2 Answers

You could right-click on the project or folder and select Indexing > Exclude from index to disable indexing on the specific selection.

You could also turn off Project > Build Automatically from the main menu so the build doesn't get triggered on the project each time a file in it is saved.

Hope this helps.

like image 122
Yun Avatar answered Sep 20 '22 13:09

Yun


I've been having the same problem myself and found going to 'Project' > 'Clean...' helped significantly, although it took a while to run.

like image 30
Hill79 Avatar answered Sep 21 '22 13:09

Hill79