keystonejs/keystone-classic
Voir sur GitHub[0.x] Keystone OOMkilled on large CSV export
Open
#2 592 ouverte le 8 avr. 2016
bughelp wanted
Métriques du dépôt
- Stars
- (14 656 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
When exporting a keystone list as csv, the entire backing collection is loaded into memory before sending the response. This renders the export feature useless for a large collection; keystone will exhaust the available memory on the machine until it gets OOMkilled.
Instead, the export should be streamed back to the client so that we never load more than a cursor's worth of data in memory.