Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High memory usage #296

Open
Kein opened this issue Oct 11, 2022 · 0 comments
Open

High memory usage #296

Kein opened this issue Oct 11, 2022 · 0 comments

Comments

@Kein
Copy link

Kein commented Oct 11, 2022

I'm running SS + v2ray plugin on a Centos 7 x64 min setup 128Mb RAM. Clean SS with no plugins bring my system memory to 60Mb usage after reboot. Enabling v2ray as a plugin brings it to 100-105Mb. If I connect with client and start to use proxy setup it eventually reaches OoM, easiest way to repro is via speedtest.net

Is this normal/expected behavior? How high are the requirements? As far as I know GO uses GC so I assume it allocates too much in a short period of time without a chance to collect. Is there any option to setup GC more aggressively for collection?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant