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

High peak memory usage when closing and opening tabs (10-20) going from 40MB -> 150MB #429

Open
l-const opened this issue Feb 9, 2025 · 2 comments

Comments

@l-const
Copy link
Contributor

l-const commented Feb 9, 2025

The tabs remain unused , you just have to create and close tabs (10 tabs) for a couple of times.

@l-const
Copy link
Contributor Author

l-const commented Feb 9, 2025

Image

Image

syscall_lurk_cli.txt

My understanding from the syscall logs is that most of mmap calls where for the dynamic library loading (code segment) and there is a fload of brk syscalls to increase the heap, my analysis was not very thorough to be honest.

Image

@l-const l-const changed the title High peak memory usage when closing and opening tabs (10-20) going from 50MB -> 150MB High peak memory usage when closing and opening tabs (10-20) going from 40MB -> 150MB Feb 9, 2025
@mmstick
Copy link
Member

mmstick commented Feb 9, 2025

Probably needs to set the M_MMAP_THRESHOLD/M_TRIM_THRESHOLD too.

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

No branches or pull requests

2 participants