-
Notifications
You must be signed in to change notification settings - Fork 85
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. #37
Comments
Hi @hkhk366 , thanks for filing up an issue! Can you tell which version of edgevpn are you trying? also, try to fiddle with memory limits in the options - the resource manager has recently been added in libp2p and still tracking down potential memory usage spikes. However, with 0.18 memory consumption is pretty good here. |
@mudler Hello, thanks for your message. I use 0.18 and download them here https://github.com/mudler/edgevpn/releases/tag/v0.18.0 Both windows 10 and ubuntu 20.04 cost much memory. I don't know why. Wouild you like to check it? |
@mudler FYI. I run it again today. This time, I run it for 20 mins. The memory used 240MB. And it is keep going up. I checked peers' information. The peers' number is keep increasing and never going down. Another thing is, even two nodes in the same local network. When I send a file via smb, the speed is only 500KB to 1MB per second. Clients are windows 10. The speed is very slow, do you know why? Thank you. |
I'm sorry i can't really help much on windows since I'm not a windows user at all - and takes away from me too much on my side to spawn up test environments with it. However, did you tried to specify a lower limit for max connections? try set |
Did it help? |
Unfortunately no, I just switched to another tool that provides the p2p feature. |
I run the following command.
./edgevpn --token xxx --address 10.1.0.1/24
After one day, it will cost 1GB of memory. And the memory is keep going up. Is this normal? Thank you.
The text was updated successfully, but these errors were encountered: