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

a-tree-select一直累加数据,会导致内存占满,直接崩溃。 #7997

Open
1 task
coderwhyz opened this issue Jan 7, 2025 · 2 comments
Open
1 task

Comments

@coderwhyz
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.6

Environment

浏览器版本

Reproduction link

https://www.antdv.com/components/tree-select-cn

Steps to reproduce

1、通过数据懒加载获取的数据。
2、每次向原数据累加500条新的数据,一直累加,内存一直增加,指导增加到1024M,内存占满,网页崩溃。

What is expected?

内存问题,网页不能崩溃

What is actually happening?

1、通过数据懒加载获取的数据。
2、每次向原数据累加500条新的数据,一直累加,内存一直增加,指导增加到1024M,内存占满,网页崩溃。

@xakxak007
Copy link

如此多的数据(1GB),是不是应该考虑下交互方式的优化...

@coderwhyz
Copy link
Author

如此多的数据(1GB),是不是应该考虑下交互方式的优化...

我看2.5万条数据就使用到1G内存了

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