mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #395] High memory usage over time. - memory leak #312
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#312
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Benchwork on GitHub (Aug 12, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/395
Operating Systems
Server: windows 10 pro, v1809 build 17763.652
Client: windows 10 Enterprise v1809 build 17134.885
Barrier Version
Server: 2.2.0 & 2.3.1
Client: 2.2.0 & 2.3.1
Steps to reproduce bug
Other info
maybe related to issue #147
@igordovgaluk commented on GitHub (Aug 22, 2019):
Memory usage over 3.5GB on the server after less than a day of use.
One client (laptop) connected and disconnected a few times over the period.
client and server v2.2.0 (built from sources) on Ubuntu 18.04
@igordovgaluk commented on GitHub (Aug 22, 2019):
@shymega there are few memory leak issues reported and resolved
https://github.com/symless/synergy-core/issues/6460
https://github.com/symless/synergy-core/issues/6495
https://github.com/symless/synergy-core/issues?utf8=%E2%9C%93&q=is%3Aissue+memory
@p12tic commented on GitHub (Aug 22, 2019):
symless#6460 is already addressed in Barrier.
@p12tic commented on GitHub (Aug 22, 2019):
symless#6495 has been addressed in https://github.com/debauchee/barrier/pull/409.
@AdrianKoshka commented on GitHub (Aug 22, 2019):
I'll build a "pre-release" via CI/CD when I get home for testing.
@p12tic commented on GitHub (Aug 22, 2019):
I saw that there were still some memory usage growth even after the recent fixes, but the magnitude was roughly 10-20 times smaller. So the bug is not completely fixed. Unfortunately full fix is a little more involved as the memory is allocated in area used by multiple threads, so it will take some time.
@AdrianKoshka commented on GitHub (Aug 22, 2019):
Thanks! Less leakage is better than nothing.
@AdrianKoshka commented on GitHub (Aug 22, 2019):
If anyone is willing to, it'd be appreciated to test this alpha release which includes some memory leaking alleviation. https://github.com/debauchee/barrier/releases/tag/v2.3.2-alpha
@noisyshape commented on GitHub (Aug 23, 2019):
@AdrianKoshka I've tested the master branch on Linux and Windows and both look good. SSL connections leak much less and non-SSL connections appear unchanged.
@cowbe0x004 commented on GitHub (Sep 18, 2019):
I'm afraid this is still happening on Windows client. I'm using 2.3.2-alpha. Both server and client use the same version, but the server is fine. This started happening after I updated to Windows 1903 OS build 18362.356.
This is about 5 mins after I started barrier.

EDIT: looks like this is due to encryption. Turned off Enable SSL and it's back to normal.
@salcin commented on GitHub (Dec 14, 2019):
Hi,
On debian with a VM Windows, barrier freeze completely my computer after somes minutes:
The kernel kill automatically the process of barrier:
The result is the same after have disabled TSL, i use the version 2.3.2+dfsg-1+b1.
@williamoliveira commented on GitHub (Apr 23, 2020):
It got pretty wild on my machine (Ubuntu 18.04)

Happened at the server after a client disconnected
@isgursoy commented on GitHub (May 16, 2020):
for me too
@mirh commented on GitHub (May 16, 2020):
Try with latest git please
https://github.com/debauchee/barrier/pull/557
@knoriy commented on GitHub (Jul 9, 2020):
This issue is also happening on Ubuntu 20.04.
@p12tic commented on GitHub (Jan 10, 2021):
Closing this issue as it's very likely to be fixed in Barrier 2.3.3 (PR #557).