Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Im getting the following error when trying to deploy a number of items from a dev to a full sandbox.

enter image description here

Works ok if i just deploy a couple of components at a time but if i try to deploy all changes it throws this. Any ideas?

Cheers Paul

share|improve this question
Try to use Ant script for the big deployments. – Sergey Utko Feb 6 '13 at 10:21

From the API ExceptionCode listing:

LIMIT_EXCEEDED An array is too long. For example, there are too many BCC addresses, targets, or email messages.

So, maybe you have a large number of something in your metadata that isn't being handled by the API in a nice way. Maybe you can narrow it down to an individual component.

The underlying error is a Java exception that appears to be generated from calling a stored procedure. I would contact Salesforce support. Anytime you see a Java error it is not a bad idea to do that. Especially, in this case because you aren't actually using the API in your own custom way. If you do so, and get an answer back please post the answer here if you can.

share|improve this answer
up vote 1 down vote accepted

Narrowed it down to a single object. Contacted support, they suggested trying change sets which worked for that particular object. Hasn't resolved the problem in Eclipse, but can live with using change sets for that one object as i dont make too many changes.

share|improve this answer
Awesome! Can you share what the problem was with the object (e.g., too many X, etc.)? – Peter Knolle Feb 14 '13 at 15:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.