leadscloud / ShadowsocksX-NG-R

Next Generation of ShadowsocksX
203 stars 27 forks source link

[BUG] Sever Memroy leak on commit 708a40c #25

Open Bill0412 opened 4 years ago

Bill0412 commented 4 years ago

System and Shadowsocksx-NG-R8 version:

Expected behavior: The app should take a little bit of memory

Actual behavior: Commit: 708a40c The release corresponding to this commits has a but that causes a severe memory leak. After using the software for a moment and open the Activity Monitor, I found hundreds of threads called nettop. And after closing the software, all the processes are gone. Therefore, there must be a bug that you did not find. I guess it's related to the speedtest functionality, although I am not sure.

(N/A for feature requests)

Steps to reproduce:

(N/A for feature requests)

How often does this happen?

(N/A for feature requests)

ss-local.log

Please upload the ss-local.log file here the file is in ~/Library/Logs 1) Open 'Advanced Settings -> enable Verbose Mode' 2) Continue run Shadowsocksx-NG-R8 for 5 minutes 3) Upload the ~/Library/Logs/ss-local.log here (with or without compress)

Application log

Open the Console.app and search Shadowsocksx-NG Copy paste the log here

Crash Log

If the app crashes and pop up a crash log, please copy and paste here

Tips:

Bill0412 commented 4 years ago

So it's time to switch back to the less fancy but more stable 1.4.3 version

Bill0412 commented 4 years ago

The more detailed issue is here: https://bit.ly/2QRmhle

leadscloud commented 4 years ago

关闭显示网速功能即可。

当时不应该把那个注释取消掉,显示网速功能导致的。