---
schema_version: "1"
id: 592e6622cbbf325f07b5478f469c62469839c0b0be3056e1a463c99b9f995a00
title: Metadata Limits
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-app-limits-cheatsheet/guides/limits/salesforce-app-limits-platform-metadata.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-app-limits-cheatsheet/guide/salesforce-app-limits-platform-metadata.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: ed0f2d2e424000566d8ea36fbf8639706564bef52d6dd53b83a367e727fef2db
products:
  - Salesforce Developer Limits and Allocations Quick Reference
  - Platform Developer Content
---

# Metadata Limits

The following limits apply to the Salesforce Extensions for Visual Studio Code, the Ant Migration Tool, and the Metadata API.

|Limit|Description|
|-----|-----------|
|Retrieving and deploying metadata|You can deploy or retrieve up to 10,000 files at once. The maximum size of the deployed or retrieved .zip file is 39 MB. If the files are uncompressed in an unzipped folder, the size limit is 600 MB or 629,145,600 bytes. The size limit in bytes is calculated as 600 x 1024 x 1024. Note the following:<ul><li>Metadata API base-64 encodes components after they’re compressed. The resulting .zip file can't exceed 50 MB, which is the limit for SOAP messages. Base-64 encoding increases the size of the payload, so your compressed payload can't exceed approximately 39 MB before encoding.</li><li>You can perform a `retrieve()` call for a big object only if its index is defined. If a big object is created in Setup and doesn’t yet have an index defined, you can’t retrieve it.</li><li>Limits can change without notice.</li></ul>|
|Change sets|Inbound and outbound change sets can have up to 10,000 files of metadata.|
|Retrieving metadata types with dependencies|<ul><li>Make up to 25 retrieve requests using the `rootTypesWithDependencies` parameter per day.</li><li>A single retrieve request using the `rootTypesWithDependencies` parameter can request dependencies for up to 100 components.</li></ul>|

