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

请问totalLuaMemory 不会下降是什么原因? #49

Open
luankun opened this issue May 18, 2024 · 0 comments
Open

请问totalLuaMemory 不会下降是什么原因? #49

luankun opened this issue May 18, 2024 · 0 comments

Comments

@luankun
Copy link

luankun commented May 18, 2024

例如如下写法:
local list = {}
for i = 1, 100000 do
list[i] = i
end
image
即使调用了lua的gc后,看totalLuaMemory 这个值也不会降下来,请问大佬是什么原因?totalLuaMemory 即使gc后也不会下降吗?

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