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

[Bug]使用loadMicroApp加载应用后,切换子应用,旧应用内存不会卸载,切换越多的应用,内存在持续增加 #2991

Open
MaJiaXuan opened this issue Jul 28, 2024 · 1 comment

Comments

@MaJiaXuan
Copy link

MaJiaXuan commented Jul 28, 2024

提问之前强烈建立您能先阅读一下《如何正确的提出一个 Issue》

What happens?

使用loadMicroApp加载应用后,切换子应用,旧应用内存不会卸载,切换越多的应用,内存在持续增加。

Qiankun + vue2.x

子应用在unmount有进行卸载。

image

并且内存随随便便就上G了

6fa39f5744624c7784b85258f20456a

这个问题很影响使用,在32位浏览器没几下就崩溃了,内存不够用。希望官网能引起重视

相关环境信息

  • qiankun 版本 2.10.6
  • 浏览器版本:谷歌任意版本
  • 操作系统:win10
@Jseven86
Copy link

loadMicroApp返回的对象不是可以卸载的嘛,官网有个卸载方法,试过了吗

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