-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 leaks on the Xray-client on Windows 11 using Xray 1.8.17 and xjasonlyu/tun2socks 2.5.2 (wintun 0.14.1) #3714
Comments
This is a thorough report but there are a lot of moving parts. I suggest to find and eliminate some components that are not necessary to reproduce this issue.
I also see that you have filed the same issue against tun2socks itself: xjasonlyu/tun2socks#390 -- it's usually more efficient to keep conversation in one place, it saves developer's time. |
Perhaps some parts of the configuration caused the loop, such as the freedom outbound mentioned try removing it
This feature has not been used for a long time, and I don't know if it will have any problems. It's best to remove it as well |
v1.8.17 只是一个 pre-release 版本,后续版本修了很多 bug,这里只处理针对最新版本的 issue,或者你要说 v1.8.17 开始才有问题 我不知道上面两位为什么不关掉这个 issue,@Fangliding 我不是早给你说了只处理针对最新版本的 issue 吗 |
嘛 毕竟这也不像是最近版本可能修复的bug 具体问题具体分析 要是splithttp的问题我肯定第一时间说更新了 不然大概还是一句 still exist 至于这个一眼丁真是freedom给自己左手倒右手倒炸了 |
@Fangliding |
Integrity requirements
Version
1.8.17
Description
I am faced with the problem of large memory leaks when using the Xray-client with xjasonlyu/tun2socks (for local socks proxy) on Windows 11, here is my Xray config:
Xray-client config.json
Leaks reaches 1GB+ on Xray.exe and 2GB+ on Tun2socks.exe
I guess that the problems may be due to these rules:
But I also assume that my virtual adapter is being created incorrectly in some way and traffic just starts to overflow the Tun2socks and Xray stacks. Maybe someone can provide me with other tools for local socks-proxying to the xray-client (at 127.0.0.1:10808) I will be very grateful!
Tun2socks-logs
Links to external utilities:
xjasonlyu/tun2socks 2.5.2: https://github.com/xjasonlyu/tun2socks/releases/tag/v2.5.2
wintun 0.14.1: https://github.com/WireGuard/wintun
Reproduction Method
Adapt the Xray-config file to your server.
In cmd run Xray-core as admin with config from the description :
Client config
Xray-client config.json
Server config
Client log
Tun2socks-logs
Server log
The text was updated successfully, but these errors were encountered: