[BUG] Memory constantly increasing and never clearing out when using CSS animation #223
Labels
No labels
area/accessibility
area/dependency
Confirmed
Crash Report
Delayed
Design Issue
Duplicate
Feedback required
Good first issue
kind/bug
kind/cleanup
kind/enhancement
platform/linux
platform/macos
platform/windows
priority/high
Question
Request for Comments
Seeking Other Contributors
Seeking Testers
Won't Fix / By Design
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-obsproject/obs-browser#223
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Platform
Operating system and version:
Windows 10OBS Studio version:
25.0.4 (64 bit)Expected Behavior
Page with static content should have steady (or nearly as steady) RAM usage. I'm not sure how browsers handle CSS animations, but I believe they're not really supposed to be constantly grabbing new memory (and not releasing old one), but I may be wrong.
Current Behavior
If page is running for 2 or more minutes (with only one animation and no other code),
obs-browser-pageprocess starts grabbing 4 KB of RAM every 1-2 seconds. If left running for ours, memory keeps increasing and is never released. If page without animation is opened then RAM usage is almost the same as it was when first opened (slight difference, sometimes higher sometimes lower, I guess browser is doing some other things in the background that's causing the small difference).Steps to Reproduce
Save the file as
*.htmland open it inside OBSVideo proof: https://www.screencast.com/t/baVhjUp8Ani
Additional information
Memory increase is happening with both preview on and off, it doesn't make the difference as seen on the video. If you need any more information, do let me know.
Dupe of #221