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? #147

Open
s-kyli opened this issue Jan 1, 2025 · 0 comments
Open

Memory leak? #147

s-kyli opened this issue Jan 1, 2025 · 0 comments

Comments

@s-kyli
Copy link

s-kyli commented Jan 1, 2025

I'm not sure about this, but when testing topbarplus on my game, I've run into an increase in threads and LuauHeap memory usage of the script running all the topbarplus icons. In the test place, I tried spamming buttons and creating snapshots periodically, and I noticed a huge increase in threads + the "EXAMPLES" script increasing in size (and not going down).

image

image

In the graph section of Luauheap, the "array" part of the registry increases.

Over each snapshot, the size of EXAMPLES and the size of each thread keep increasing and not coming back down. I'm a little worried that this would cause/contribute to a memory leak in my game, so I'm just wondering is there a memory leak in topbarplus or is this just how it's supposed to be?

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

1 participant