yichya / luci-app-xray

(Almost) full feature Xray client for OpenWrt
Mozilla Public License 2.0
600 stars 513 forks source link

Memory usage up to 250% #300

Closed kilofox closed 1 year ago

kilofox commented 1 year ago

The /cgi-bin/luci/admin/status/processes page shows that the memory usage is up to 250% of the "/usr/bin/xray run -confdir /var/etc/xray" process. How to reduce the memory usage to a low level?

yichya commented 1 year ago

What you see there is VSZ, not actual memory usage. See https://stackoverflow.com/questions/7880784/what-is-rss-and-vsz-in-linux-memory-management