[Bug]: Browser crash due to v5 memory usage
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug / 问题描述
数据量没有变化的情况下,随着操作次数越多,内存占用逐渐累加,最后导致浏览器崩溃。
图1 操作前

图2 推拽后

v4没有这个问题,并且同样数据量v4内存是v5的一半
请问有什么方案可以应急解决一下吗?
### Reproduction link / 复现链接
_No response_
### Steps to Reproduce the Bug or Issue / 重现步骤
_No response_
### G6 Version / G6 版本
🆕 5.x
### OS / 操作系统
- [X] macOS
- [ ] Windows
- [ ] Linux
- [ ] Others / 其他
### Browser / 浏览器
- [X] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported memory growth in G6 5.x on Chrome for macOS, using repeated drag operations with unchanged data. Compare memory usage against G6 v4; done means repeated operations no longer steadily accumulate memory or eventually crash the browser.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100