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

LibWeb: Calling Web::Page::load_html(StringView) in a loop causes memory leak #23909

Open
ADKaster opened this issue Apr 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ADKaster
Copy link
Member

ADKaster commented Apr 9, 2024

This comes into play when loading the TaskManager window's generated HTML. While the approach of using HTML and a WebView for a simple table view is dubious, the behavior of constantly increasing the GC Heap's maximum size threshold leads to unbounded memory usage as we hit the load_html IPC call once a second.

We should find a way to control this memory usage, or perhaps to give navigation information to the GC heuristics, to limit this RAM growth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant