Error - System.ServiceModel.QuotaExceededException: The size
necessary to buffer the XML content exceeded the buffer quota
Since our Solution size is far away from being critical, this could not be the problem. Also the deployment worked fine in the QA environment
After investigating a bit, we came to know that this was related to the Database replication which has been extended by the DB team of the customer independently. After reverting this change, the deployment worked fine.
cheers