FranzKafkaYu / x-ui

Lightweight Xray panel with multi-protocol and multi-user on the same port,supports English language and Telegram bot. Easy to use and easy to manage.
GNU General Public License v3.0
7.59k stars 1.5k forks source link

reality协议占用内存过多 #540

Closed gallexy closed 8 months ago

gallexy commented 8 months ago

Welcome

Description of the problem,screencshot would be good

reality+xtls-rprx-vision, 跑了一下speedtest,内存能占2GB多,实在有点太多了

image

Version of x-ui

```console $ x-ui version # Paste output here ```

x-ui log or xray log

```console # paste log here ```
FranzKafkaYu commented 8 months ago

@gallexy 这类问题请提交至上游解决,当然你可以通过修改配置模板进行优化,具体配置请参考官方文档。

gallexy commented 8 months ago

减小buffersize到2048,有效控制了内存增长。多谢回复