You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(storage): implement chunked streaming for document uploads to prevent memory saturation #103
In document.routes.ts, multer.memoryStorage() buffers uploaded files entirely in RAM before processing. High concurrency of large file uploads (up to the 10MB limit) will rapidly exhaust container memory, causing application crashes.
Proposed Technical Approach
Migrate to multer({ dest: 'uploads/' }) to stream files to disk.
Alternatively, implement a streaming engine to pipe upload chunks directly to persistent storage with minimal RAM footprint.
I would like to request assignment for this issue. I have thoroughly analyzed the architecture and verified this is an L3 (Core/Architecture/Performance) task. I am ready to implement the changes once assigned.
This issue has been inactive for a while. It will close automatically if there is no new activity. Comment with updated context if it is still relevant.
Activity
Diwakar-odds commentedon Aug 8, 2026
I would like to request assignment for this issue. I have thoroughly analyzed the architecture and verified this is an L3 (Core/Architecture/Performance) task. I am ready to implement the changes once assigned.
github-actions commentedon Sep 8, 2026
This issue has been inactive for a while. It will close automatically if there is no new activity. Comment with updated context if it is still relevant.
github-actions commentedon Sep 22, 2026
Closing as stale. Please open a fresh issue with current reproduction details if this is still needed.