What is the length maximum for a string data type in MongoDB used with Ruby?
This other question should answer your question: Documents larger than 4MB (when converted to BSON) cannot be saved to the database. This is a somewhat arbitrary limit (and may be raised in the future); it is mostly to prevent bad schema design and ensure consistent performance. Note that in the picked answer for that question … Read more