vpnhood / VpnHood

Undetectable Fast Portable VPN
GNU Lesser General Public License v2.1
1.01k stars 152 forks source link

Memory. Windows app #416

Closed Onair-santa closed 1 year ago

Onair-santa commented 1 year ago

explorer_SyH3uQF4oc Is it normal?

Onair-santa commented 1 year ago

1.75 Gb

trudyhood commented 1 year ago

Is it the client! No it is not. We have to check it out.

trudyhood commented 1 year ago

how much memory your system have? maybe you have a lot so garbage collector let it grow till system request clean up. anyway, I put it in our priority tasks to make sure there is no memory leak.

Onair-santa commented 1 year ago

16 Gb 1h work and 1.7 Gb memory 3.0.416 win app

Onair-santa commented 1 year ago

And now is 200Mb May be system error

trudyhood commented 1 year ago

I don't think it was a system error. To improve performance and prevent memory fragmentation .NET Garbage Collector lets memory usage grow if you have a lot of memory free, but as soon as your system memory goes near stress or at some period of time it releases the extra memory.

Let us know if you find the memory usage is too high especially when there is not enough memory left on your system.

Onair-santa commented 1 year ago

Well, immediately there’s something similar on the server, 100% CPU load for 24 hours already chrome_2nWbLYITgZ

Onair-santa commented 1 year ago

chrome_3EWWqmphyj

Onair-santa commented 1 year ago

automatic update is evil This is the second time I’m writing to you and dozens of computers have already died because of this. Remove automatic updates from computer programs and servers

trudyhood commented 1 year ago

We are very sorry for any inconvenience that may be caused by the auto-updates, and we understand your concern about potential failures resulting from these updates. If you wish to disable automatic updates, you can do so by stopping the VpnHoodUpdater service with the following command:

Run the following command after installing or updating VpnHood servers

sudo systemctl stop VpnHoodUpdater

⚠️ It is essential to consider the implications of disabling automatic updates, as this may lead to various issues due to insufficient resources for maintaining long-term backward compatibility. We believe that it will result in increased service downtime for your clients.

Here are some key points to consider:

We'd like to encourage you to carefully assess the risks associated with disabling automatic updates and consider implementing a comprehensive strategy that balances the need for stability and security with the potential challenges of manual updates.