I am using force.com IDE and I am facing extremely slowness in saving a file to the server. It seems to take too much time to save apex classes or visual force pages that i need to cancel the operation and do it second time which works. Any suggestions on this please? Thanks Buyan

  • What kind of organization are you using? Saving a file to your production instance is effectively a deployment, and will run all your tests every time. Jan 31, 2014 at 15:09

7 Answers 7


Yes, the Force IDE and Force Eclipse plugin are notorious for being slow. There are various options to create a faster workflow:

  • If you have OSX and like SublimeText 2 check out MavensMate: https://github.com/joeferraro/MavensMate-SublimeText - amazing force integration and great speed
  • In any environment you could use Ant for deploying and retrieving items from your environment, you can google how to set it up. This will probably be the fastest way to deploy code.

Good luck

  • It's subjective, but I'm convinced there's a major speed advantage to MavensMate over the official IDE. Mar 13, 2013 at 4:41
  • Have you been able to configure SublimeText to connect to Salesforce to edit classes and triggers? I am a huge fan of this editor but the way I use it to edit VF, Class and Trigger is copy the code from SublimeText and paste it into the SFDC browser and save. Curious to know if were able to connect the editor to SFDC like eclipse?
    – DCBoy
    May 1, 2013 at 3:12
  • You should be able to do that with the MavensMate plugin and SublimeText 2
    – Diego
    May 20, 2013 at 3:02

The slowness of the force.com IDE is due to overhead that comes along with using Metadata API, which the Force.com IDE is written on top of. In addition to this overhead, the Metadata API also requires polling to get results back, which adds a small delay.

Newer IDEs such as ASIDE.IO or Mavens Mate are significantly faster because they are using the Tooling, Apex, and Partner APIs to save code to server. Additionally, there is a rewrite of the Force.com IDE underway that should alleviate the slowness.


This is a fairly common complaint observation. An operation that might typically take seconds (less than a minute) will seem to go on indefinitely.

It can occur with saving files, running unit tests, deploying to servers, refreshing meta data etc..

Firstly, check that no other admin actions are currently occurring in the Org that might block the action. E.g. running unit tests.

One option is to just grin and bear it until the IDE plugin is refreshed with the Tooling API and hopefully improves the situation.

You could look to alternative methods of working with Apex, such as the Developer Console or another third party tool.

I haven't had much luck, but there is a Force.com IDE Log Viewer in Eclipse (Help > Show Force.com IDE Log). It might provide some more clues as the why the IDE is hanging.

Force.com IDE Log Viewer


There isn't going to be much you can do about this. The time to compile apex classes and visualforce pages affected by the server load, the distance between you and the instance, and the complexity of your orgs.

I've seen some worst case scenarios where saving an apex class took up to 5 minutes. However, this was an extreme case where an org had FinancialForce installed and each compile required the back in server to query all apex classes regardless of whether they were referenced. They had a fix targeted for Winter '13, so if you're having saves that take that long you may want to contact Salesforce support.


Checking out less metadata in Eclipse is what I have done in past to get speed improvements during file SAVE operation. I posted this long back, and still works well for me:



(Help > Show Force.com IDE Log) is the right place. Only thing is its not showing the detail errors as its shows in the Salesforce.com editor. So, try editing the file directly on Salesforce. This happened for me when my edit has actually caused an error. Its a general Salesforce behavior not to save the files when there is any validation error.


I use force.com ide strictly for editing and testing. When it comes to deployment even saves to my sandbox I use ant. Force.com IDE was ridiculously slow at times to save even a small file to salesforce. Ant works consistently fast and even when it's slow it's still considerably faster than force.com ide

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .