Shadowsocks-windows: shadowsocks.availability.csv - Seriously?

Created on 14 Mar 2016  ·  3Comments  ·  Source: shadowsocks/shadowsocks-windows

This file is now 87M on my PC (it started from 2016-01-14) and no wonder it is consuming so much memory and disk usage. >:-(

Switch to SQLite or something like that plz. Also clean up statistics that are >7-30 days old and >100-1000 entries.

wontfix

Most helpful comment

I'm serious. Using csv can cause a lot of string instantializations and lead to huge memory usage and heavy GCs. Please consider switching to SQLite, etc.

All 3 comments

Actually cleaning up old entries should be optional (some users might want that).

For now ,You can write a batch file ( .bat ) and add to scheduled task.
example:

taskkill /f /im shadowsocks.exe
taskkill /f /im ss_privoxy.exe
del temp\shadowsocks.log
del temp\shadowsocks.availability.csv
start shadowsocks.exe

and running every 24 hours by scheduled task.

I'm serious. Using csv can cause a lot of string instantializations and lead to huge memory usage and heavy GCs. Please consider switching to SQLite, etc.

Was this page helpful?
0 / 5 - 0 ratings