Skip to content

disposed RGBA video frames to fix indefinite linear growth of memory#146

Merged
s-hamdananwar merged 1 commit intomainfrom
hamdan/unity-video-memory-leak-fix
Aug 16, 2025
Merged

disposed RGBA video frames to fix indefinite linear growth of memory#146
s-hamdananwar merged 1 commit intomainfrom
hamdan/unity-video-memory-leak-fix

Conversation

@s-hamdananwar
Copy link
Copy Markdown
Contributor

@s-hamdananwar s-hamdananwar commented Aug 15, 2025

RGBA video buffers were not being disposed, and hence causing in linear memory allocation increase for higher resolution video stream.

Copy link
Copy Markdown
Contributor

@ladvoc ladvoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice catch!

Comment thread Runtime/Scripts/VideoStream.cs
@s-hamdananwar s-hamdananwar merged commit 593a182 into main Aug 16, 2025
13 of 14 checks passed
@s-hamdananwar s-hamdananwar deleted the hamdan/unity-video-memory-leak-fix branch August 16, 2025 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants