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

fix: 修复ssr的内存泄漏问题 #7867

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

InvincibleJun
Copy link

@InvincibleJun InvincibleJun commented Sep 27, 2024

To fix #7866

@InvincibleJun
Copy link
Author

As #7866 .
I find useClientCache function watchEeffet association globalDesignTokenApi, it is a global shallowRef value,so watchEeffet will not release. I guess.

Use watch do it, will fix this problem. I test ts use jmeter, the node memory will 200-300MB.
image

@InvincibleJun InvincibleJun changed the title fix: 修复ssr的内存溢出问题 fix: 修复ssr的内存泄漏问题 Sep 27, 2024
@InvincibleJun InvincibleJun marked this pull request as draft September 27, 2024 09:33
@InvincibleJun InvincibleJun marked this pull request as ready for review September 27, 2024 09:34
@InvincibleJun InvincibleJun marked this pull request as draft September 27, 2024 09:34
@InvincibleJun InvincibleJun marked this pull request as ready for review September 27, 2024 09:34
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

Successfully merging this pull request may close these issues.

nuxt3 SSR with antd design v4 have memory leak problem
1 participant