Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak in ImageDecoder #3172

Open
1 task
InvalidUsernameException opened this issue Jan 7, 2025 · 0 comments
Open
1 task

Memory Leak in ImageDecoder #3172

InvalidUsernameException opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working performance

Comments

@InvalidUsernameException
Copy link
Contributor

Summary

There seems to be a memory leak in the ImageDecoder process, most visible when loading large images.

May be related to #2711.

Operating system

Linux

Steps to reproduce

Run ./Meta/ladybird.sh run ladybird Tests/LibWeb/Screenshot/expected/object-fit-position-ref.html and repeatedly reload the page

Expected behavior

Memory usage of ImageDecoder process stays roughly constant

Actual behavior

Memory usage of ImageDecoder process increases with every page refresh.

URL for a reduced test case

Tests/LibWeb/Screenshot/expected/object-fit-position-ref.html

HTML/SVG/etc. source for a reduced test case

N/A

Log output and (if possible) backtrace

N/A

Screenshots or screen recordings

No response

Build flags or config settings

No response

Contribute a patch?

  • I’ll contribute a patch for this myself.
@AtkinsSJ AtkinsSJ added bug Something isn't working performance labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance
Projects
None yet
Development

No branches or pull requests

2 participants