tauri-apps / tauri-apps/plugins-workspace

[websocket] Websocket plugin causes RAM usage gradually increasing forever

Open
#667 1 comment 1 reaction 0 assignees View on GitHub
plugin: websocket type: bug
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

Reproduction: https://github.com/MichaelTendoSsemwanga/websoocket-plugin-memory-gradually-increases

Basically, followed the instructions on https://github.com/tauri-apps/tauri-plugin-websocket
Connected to an actual socket which is sending data and wait.

In < 2 hours, RAM usage > 1GB

Macbook Pro 14" M1 Pro
![Screenshot 2023-10-18 at 19 22 12](https://github.com/tauri-apps/plugins-workspace/assets/24094521/def13bf4-30a1-4994-9885-bbf32b7e8a82)

PS: The server is sending ~ 1MB per message

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.