Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stream for exporting collections #345

Merged
merged 1 commit into from
May 31, 2017

Conversation

ahmedissa
Copy link

User can't export big collections.

Cause: toArray function loads all documents in memory. If server ram didn't fit, mongo-express will exist.

@MikeyBurkman
Copy link
Member

I haven't had a chance to actually test this, but the changes look solid to me

@dozoisch
Copy link
Collaborator

That looks great, Ill try it tonight and merge it! Thanks

@ahmedissa
Copy link
Author

No problem, glad to help.

@dozoisch dozoisch merged commit fbbe9c7 into mongo-express:master May 31, 2017
ryodocx pushed a commit to ryodocx/mongo-express that referenced this pull request Mar 18, 2019
Use stream for exporting collections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants