I've been running ant deploy all day yesterday on an org of mine with no problems. Before each deployment, I ran an undeploy to delete everything I had deployed previously.
In the middle of the day, I ran into this error while deploying:
"objects/Opportunity.object (Opportunity.BillingOrganization__c) — Error: limit exceeded (line 818, column 13)."
I'm nowhere near hitting any storage limits, nor am I close to hitting any custom field limits. There are no fields available to be undeleted and nothing in the org's recycling bin. I am able to create a custom field manually in my org. I also ran an ant deployment on another org of mine with no problems.
Here is the org's System Overview: http://imgur.com/a/GDXkh
Does anyone know what is going on? Thank you.
Best Answer
Ended up making a case about this issue. Support ran a Physical Delete (PD) on my org to delete custom fields that have been deleted but still remain. Deployments are working now.
I've also asked about the purgeOnDelete flag when running an ant undeploy job. Here is their response: