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
Currently, audio frames accumulate in memory during Omi device recordings. For very long recordings (>30 minutes), this could cause memory pressure or OOM errors.
Problem
Currently, audio frames accumulate in memory during Omi device recordings. For very long recordings (>30 minutes), this could cause memory pressure or OOM errors.
Location:
lib/utils/audio/wav_bytes_util.dart:16-17Suggested Solution
Implement one of the following approaches:
Streaming to disk: Write frames to temporary file during recording
Circular buffer: Keep only recent frames in memory and stream older ones
Chunked processing: Process and write audio in chunks during recording
Benefits
Priority
Medium - Only affects edge cases (very long recordings)
Related
lib/utils/audio/wav_bytes_util.dartfor current implementation