Docs Made Easy limits come from three places: the app itself (such as file size), your Docs Made Easy plan (how many documents per period) and your Salesforce org (API requests, Apex governor limits, file storage). Check them before you plan a large template or a bulk job. If something already failed, go to Large documents, timeouts and limits for the fixes.
Known limits
| Limit | Value | When you hit it | Source |
|---|---|---|---|
| Template file size | 5 MB per template. Larger templates aren't allowed, and the generated file stays within that size | DME-DOC-001, "Document is too large to process" | Docs Made Easy |
| Emailed documents | A document that's too large is left off the email | The email is sent without the attachment | Docs Made Easy |
| Rows per table, and records per relationship or query | About 500. This is a soft limit, not a hard one | Generation slows down and performance may suffer | Docs Made Easy |
| Generation time on the Composer page | No timeout, as long as templates stay within these limits | None | Docs Made Easy |
| Documents on the Basic version | 50 per month and 500 per year. The monthly limit resets every month on the app installation date; the yearly limit renews on the installation date the following year | DME-LIC-001, "Usage policy violation". Generation stops until the limit resets or the plan changes | Reasonable Use Policy |
| Records per bulk batch | Configurable: set the batch size you need | None | Docs Made Easy |
| Salesforce API requests | Your org's allowance per rolling 24 hours, shared by every app and integration | DME-SF-005, "TotalRequests Limit exceeded" | DME-SF-005 |
| Emails | Sent through Salesforce, so your org's Salesforce email limits apply | A Salesforce email limit error | Salesforce behaviour |
| Currency cultures in one template | Up to 5 (CurrencyCulture1 to CurrencyCulture5) | No error documented | CurrencyCulture, v1.19.0 |
| Image formats in the template editor | PNG, JPG and JPEG | No error documented | v1.11.0 |
| Apex data relationships | Salesforce governor limits (heap size, CPU time, SOQL queries) apply to your class | A Salesforce limit exception | Salesforce behaviour; see Apex data relationships |
| Generated files in Salesforce | Count against your org's Salesforce file storage | Salesforce storage warnings | Salesforce behaviour; see Where generated documents go |
What counts toward the quota
- Generated documents count, from the Composer page, Flow, bulk, Quick Merge and the API.
- Merge previews count. A preview counts as a generated document, even though it saves nothing to the record.
- Failed generations don't count.
Administrators track usage on the Usages tab in Docs Made Easy Pro. It shows how many documents were generated, not how many are left, so compare the total with your plan limit yourself.
Limits still to be confirmed
| Limit | Value | When you hit it | Source |
|---|---|---|---|
| Maximum image size and dimensions | To confirm | To confirm | None |
| Salesforce API requests used per document | To confirm | DME-SF-005 | None |
| NumberCulture: how many at once | To confirm | To confirm | None |
| Timeouts for Flow and bulk runs | To confirm | To confirm | None |
Plan for the limits
- Keep templates small. High-resolution images are the most common reason a template gets too large. Compress them before you upload the template. See Images missing or the wrong size.
- Keep tables to about 500 rows. Above that, generation may slow down.
- Pull only the data you need. Add only the relationships the template uses on Gather Data, filter queries to the current record with
pv0, and set a Limit on queries. See Filter a query to the current record (pv0). - Schedule large bulk jobs. On a Document Bulk Merge record, choose Schedule Batch to run outside working hours, which spreads plan quota and API requests. See Generate bulk documents.
- Watch your API usage. Your Salesforce administrator can check API Requests, Last 24 Hours in Setup → Company Information.
- Watch file storage. Bulk jobs that save one file per record add up. Review storage in Setup → Storage Usage.
Example: a monthly invoice run
You plan to generate an invoice for 3,000 accounts each month with Document Bulk Merge. Before the first run, check:
- The template file is well under 5 MB, with compressed logos, and its tables stay under about 500 rows.
- Your plan's document limits cover 3,000 documents, plus the documents users generate by hand. If not, contact us about the plan, or split the run over several days.
- Your org has spare Salesforce API requests in the 24 hours of the run, and the batch is scheduled outside working hours.
- Your org has file storage for 3,000 more files.
Related
- Large documents, timeouts and limits: fixes when you hit a limit
- Docs Made Easy Basic vs Pro: compare editions
- Security and data handling