apernet / hysteria

Hysteria is a powerful, lightning fast and censorship resistant proxy.
https://v2.hysteria.network/
MIT License
14.68k stars 1.64k forks source link

Ram usage growing up with faketcp protocol #177

Open hdid opened 2 years ago

hdid commented 2 years ago

When using faketcp ram usage increases and even after idle, does not decrease. (client side) And other issue is with DNS resolving; that has gaps and timeout happens sometimes. I could not find any reason in logs.

hdid commented 2 years ago
# free -m
              total        used        free      shared  buff/cache   available
Mem:           1973        1029         482           8         462         784
Swap:          2047           0        2047
# ps_mem
 Private  +   Shared  =  RAM used       Program

 24.4 MiB +   0.5 KiB =  24.4 MiB       tun2socks
110.1 MiB +   0.5 KiB = 110.1 MiB       hysteria

The Os is Debian 9 x64