Barrier: Barrier server uses 100% CPU and all available memory

Created on 30 May 2020  路  6Comments  路  Source: debauchee/barrier

Operating Systems

Both computers are running Arch Linux x86_64.

Server
Arch Linux x86_64

$ cat /proc/version
Linux version 5.6.14-arch1-1 (linux@archlinux) (gcc version 10.1.0 (GCC)) #1 SMP PREEMPT Wed, 20 May 2020 20:43:19 +0000

Client
Arch Linux x86_64

$ cat /proc/version
Linux version 5.6.14-arch1-1 (linux@archlinux) (gcc version 10.1.0 (GCC)) #1 SMP PREEMPT Wed, 20 May 2020 20:43:19 +0000

Issue

When switching to the client, barrier started using all the available memory (RAM + ZRAM) on the server and 100% of a CPU core. Which caused frozen system. This happens after each reboot.

Barrier Version

2.3.2

Steps to reproduce bug

  1. Open barrier
  2. Start moving mouse to the other computer.

Other info

  • Occurred on the first installation.
  • Does this bug prevent you from using Barrier entirely? Yes.

Screenshots

Gnome System Monitor
Screenshot from 2020-05-30 23-09-05

Htop
Screenshot from 2020-05-30 23-09-22

bug critical from release linux

Most helpful comment

Yeah, we have a fair few bug reports with regards to Barrier's memory leaks. I'll mark this is critical and as a bug for the moment, and we'll try to make a fix soon.

All 6 comments

Yeah, we have a fair few bug reports with regards to Barrier's memory leaks. I'll mark this is critical and as a bug for the moment, and we'll try to make a fix soon.

Same here on two Windows 10 Pro 1909 machines. Had do uninstall it to make my Laptop useable again.

Same here with barriers running on Ubuntu 20.04.1 LTS
I just killed my whole X session and lost lots of open/unsaved work because the memory consumption of barrier rendered my machine unusable. Please try to fix fast! Let me know if you need more details which can help you.

@raid1: Does Barrier 2.3.3 fix this issue for you?

Sorry, I forgot to mention that I've tried with 2.3.3 (latest)

On Arch... So far the problem is gone...

Was this page helpful?
0 / 5 - 0 ratings