vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.27k stars 3.79k forks source link

nuxt3 SSR with antd design v4 have memory leak problem #7866

Open InvincibleJun opened 1 month ago

InvincibleJun commented 1 month ago

Version

4.2.5

Environment

Vue: 3.5.9. node: 20.9.0 pnpm: 9.5.0 mac:14.5 (23F79)

Reproduction link

https://github.com/InvincibleJun/template

Steps to reproduce

1: init nuxt3 as my minimal reproduction: https://github.com/InvincibleJun/template. I only use Button component to test this problem. when build it and run by nodev20, i use jmeter test http://localhost:3000

2: Use the top command on the command line, you can see the node MEM very large and growing.

What is expected?

fix this preblom.

What is actually happening?

memory leak

InvincibleJun commented 1 month ago
image image image image image