Coder Social home page Coder Social logo

High memory usage. about edgevpn HOT 6 CLOSED

mudler avatar mudler commented on August 16, 2024
High memory usage.

from edgevpn.

Comments (6)

mudler avatar mudler commented on August 16, 2024

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.

from edgevpn.

hkhk366 avatar hkhk366 commented on August 16, 2024

@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?

from edgevpn.

hkhk366 avatar hkhk366 commented on August 16, 2024

@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.

image

image

from edgevpn.

mudler avatar mudler commented on August 16, 2024

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 --max-connections 10 or something around that to see if the situation improves.

from edgevpn.

mudler avatar mudler commented on August 16, 2024

Did it help?

from edgevpn.

hkhk366 avatar hkhk366 commented on August 16, 2024

Did it help?

Unfortunately no, I just switched to another tool that provides the p2p feature.

from edgevpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.