Drafts Size Limit Exceeded

I’m testing workflows with Drafts to see what I should do and not do with the app. I use Sublime Text and Drafts for plain text needs. I tried pasting 16,472 lines (1,489,923 characters) into a draft, and this notification window appeared.

  1. Will this be the limit forever with Drafts based on how the app is built or is it a limitation for now and there could possibly be room for more text-per-draft as the app evolves?

  2. Does anyone know the maximum limit per draft?

The current max. size limit is 900,000 characters. That is likely to say in place, at least for the short term.

This limit is largely imposed because of limits in Apple’s CloudKit, which underlies Drafts sync. A single record stored in CloudKit has a max. size of 1 MB. There are ways around this using asset types, but those create some other complexities that we decided were best to avoid with Drafts being optimized around shorter note type texts.

1 Like

This is great to know, and I totally get what you mean with these limitations. Thanks for explaining, so I can better plan how to use the app.

I once pasted a big chunk of XML into Drafts. Working with it was VERY slow.

I’m not complaining but until extreme scalability is achieved I wouldn’t want the limit raised.

Performance with large texts can depend on a number of things. You were probably on iOS, where the memory limitations are a big problem rendering large chunks of text with syntax highlighting. Those limits are not much of a problem on Mac, and when they are on iOS, you can always switch the draft to “Plain text” syntax which essentially disables syntax highlighting and it will perform much better.

1 Like

Yes. It was the iOS thing.

And you never DID advertise Drafts as for bulk text items.