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

Memory leak #3933

Open
tianya66 opened this issue Dec 5, 2024 · 0 comments
Open

Memory leak #3933

tianya66 opened this issue Dec 5, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@tianya66
Copy link

tianya66 commented Dec 5, 2024

Description

go触发事件 前端接收 然后内存一直上涨
#3553 (comment)

To Reproduce

  1. go添加一个方法 给前端调用 方法内容是用for循环触发一个事件 中间停顿1秒
    2.前端添加一个按钮 调用go绑定的方法触发事件 前端接收该事件
  2. 启动程序 点击按钮 多点击几次 内存暴涨

Expected behaviour

内存一直上涨

Screenshots

image

Attempted Fixes

No response

System Details

# Wails
Version | v2.9.2

# System
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| OS           | Windows 10 Pro                                                                                   |
| Version      | 2009 (Build: 19045)                                                                              |
| ID           | 22H2                                                                                             |
| Go Version   | go1.23.4                                                                                         |
| Platform     | windows                                                                                          |
| Architecture | amd64                                                                                            |
| CPU          | 12th Gen Intel(R) Core(TM) i5-12490F                                                             |
| GPU 1        | OrayIddDriver Device (Shanghai Best Oray Information Technology Co., Ltd.) - Driver: 17.1.58.818 |
| GPU 2        | NVIDIA GeForce RTX 4070 Ti (NVIDIA) - Driver: 31.0.15.4629                                       |
| Memory       | 32GB                                                                                             |
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌───────────────────────────────────────────────────────┐
| Dependency | Package Name | Status    | Version       |
| WebView2   | N/A          | Installed | 131.0.2903.70 |
| Nodejs     | N/A          | Installed | 20.16.0       |
| npm        | N/A          | Installed | 10.8.1        |
| *upx       | N/A          | Available |               |
| *nsis      | N/A          | Available |               |
└─────────────── * - Optional Dependency ───────────────┘

Additional context

No response

@tianya66 tianya66 added the Bug Something isn't working label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant