HumanSignal / HumanSignal/label-studio
"High Memory Usage in Browser When Loading Short Videos in Label Studio – Optimization Suggestions?"
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
I'm using Label Studio to load and annotate videos, and I've noticed significant browser memory usage for both short and extended video durations:
For a 54-second video, the browser tab memory spikes to approximately 300 MB.
For a 12-hour video, memory usage grows to around 1 - 1.5 GB.
This high memory consumption can lead to performance bottlenecks, especially when handling large videos or working with multiple sessions. I’m seeking advice or solutions to optimize Label Studio’s memory usage for smoother operation, especially for long videos.
**Video duration**: Observed for both 54 seconds and 12 hours
Questions:
Are there configuration options or best practices within Label Studio to limit or reduce memory consumption for video playback?
Would specific video formats or compression settings help manage memory usage more efficiently in the browser?
Are there any known memory limitations for the video component in Label Studio, or settings that could be tuned for improved performance?
**Expected Behavior**: Memory usage should ideally scale efficiently to support extended video playback, allowing for smoother workflows without overwhelming browser or system resources.

Contributor guide
Assessment
This issue has not been assessed yet.