Skip to content

Stream large exports instead of buffering in memory #1179

Description

@RUKAYAT-CODER

Background

Exports build the entire payload in memory before writing. Stream chunks to bound memory on large datasets.

Files to modify (2-3)

src/lib/export/utils.ts
src/lib/export/index.ts

Acceptance Criteria

Implemented across the listed files

Unit/integration tests added or updated and passing

No regression; follows project coding standards

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions