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

When using virtual tables, high memory usage has always been unable to be reduced. #5352

Open
2 tasks done
KonghaYao opened this issue Feb 16, 2024 · 0 comments
Open
2 tasks done

Comments

@KonghaYao
Copy link

TanStack Table version

v8.12.0

Framework/Library version

Solid v1.8.1 and React v18.2.0

Describe the bug and the steps to reproduce it

image

When I was trying to create a virtual table using tanstack, I accidentally discovered that it was using a very high amount of memory when scrolling, and even after GC, the page remained with high memory for about 3 minutes. Then I looked at the official React Demo and found the same issue.

But,when I use pure data and @tanstack/virtual-core to build a grid list, it is ok. So I think it's a @tanstack/solid-table's problem.

Demo is here.

Souce Code is here

image

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://tanstack.com/table/latest/docs/framework/react/examples/virtualized-columns

Screenshots or Videos (Optional)

iShot_2024-02-16_10.07.30.mp4

Do you intend to try to help solve this bug with your own PR?

No, because I do not have time to dig into it

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
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