# Extremely high CPU usage that makes my system unusable?

**URL:** <https://forums.unrealengine.com/t/extremely-high-cpu-usage-that-makes-my-system-unusable/443600>\
**Category:** Mobile\
**Tags:** performance-issues, cpu-usage, unreal-engine, Performance, editor, UE4, question\
**Created:** [February 18, 2019, 2:48pm UTC](https://forums.unrealengine.com/t/extremely-high-cpu-usage-that-makes-my-system-unusable/443600 "2019-02-18T14:48:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e96160d7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e96160d7](https://forums.unrealengine.com/u/anonymous_user_e96160d7)\
**Post date:** [February 18, 2019, 2:48pm UTC](https://forums.unrealengine.com/t/extremely-high-cpu-usage-that-makes-my-system-unusable/443600/1 "2019-02-18T14:48:28Z")

</div>

Hey guys. I’m developing a game on Linux in UE 4.20. I’ve been developing the game on Windows for almost a year but, despite UE4 having no issues running on Windows, I switched to Linux because of accessibility needs that Windows cannot meet for me without making things more cumbersome than they have to be.

I was able to get Unreal Engine to compile under Linux perfectly fine using the Epic Wiki’s guide. My game also compiles just fine too. However, launching the editor is a different story. As soon as the editor starts to load (before the splash screen even shows up), my system **immediately** becomes unusable.

My window manager becomes so unresponsive I can’t even move the mouse. PulseAudio also gives up. I can see programs all over the place dimming, indicating they’ve become unresponsive. Soon enough the system is completely hosed until the editor is finished loading, to the point where I can’t even hit CTRL+ALT+F2 to get to a text-based, full-screen tty. (And if I do, I’m lucky if I can even log in and run `top`. You know things have hit the fan when your text-mode cursor’s blinking lags.)

I’m really not sure what’s going on here, but maybe there’s something someone else knows that I don’t.

**My system:**

- **CPU:** AMD A10-7700K 4C+6G @ 3.4GHz
- **GPU** : NVIDIA GeForce GTX 1050ti 4GB VRAM
- **RAM** : 8GB DDR3
- **Storage:** 240GB SSD, 1TB HDD. UE4 is on the SSD.

**Linux info:**

- **Kernel version:** 4.18
- **Platform:** amd64
- **Distro:** Xubuntu 18.10
- **Desktop environment:** XFCE4
- **Window manager:** compiz (needed for accessibility reasons, its screen magnifier is the best of any operating system out there for multi-monitor systems.)
- **NVIDIA drivers:** version 390, proprietary drivers

**Development environment:**

- **UE4 version** : 4.20.3, compiled from source
- **IDE:** Visual Studio Code
- **Debugger:** lldb
- **VS Code lldb adapter:** native

Below is the result of me measuring the CPU and RAM usage of the `UE4Editor` process from the moment I start debugging in Visual Studio Code until 4 minutes after, measured every second. I do believe at one point the engine crashed resulting in the script I was using being unable to collect all 420 samples, but, here is the output:

Left is CPU usage as a percentage. Right is RAM usage, which I SERIOUSLY hope isn’t measured in GB because if it is then, right at the end, the script said Unreal Engine was using **7.8 GB of my 8GB of RAM.**

```
29.0 0.8
48.5 1.6
32.3 1.6
24.2 0.8
19.4 0.2
16.1 0.2
13.8 0.2
12.1 0.2
10.7 0.2
 9.7 0.1
 8.8 0.1
 8.0 0.1
 7.4 0.1
 5.1 0.1
 4.8 0.1
 4.4 0.1
 3.8 0.1
 3.7 0.1
 3.5 0.1
 3.3 0.1
 3.2 0.1
 3.1 0.1
 3.0 0.1
 2.9 0.1
 2.8 0.1
 2.6 0.1
 2.6 0.1
 2.5 0.1
 2.4 0.1
 2.4 0.1
 2.3 0.1
 2.2 0.1
 2.0 0.1
 1.9 0.1
 1.7 0.1
 1.7 0.1
 1.6 0.1
 1.6 0.1
 1.6 0.1
 1.5 0.1
 1.5 0.1
 1.5 0.1
 1.4 0.1
 1.4 0.1
 1.4 0.1
 1.4 0.1
 1.3 0.1
 1.3 0.1
 1.3 0.1
 1.2 0.1
 1.2 0.1
 1.2 0.1
 1.1 0.1
 1.1 0.1
 1.0 0.1
 1.0 0.1
 1.0 0.1
 1.0 0.1
 1.0 0.1
 1.0 0.1
 1.0 0.1
 0.9 0.1
 0.9 0.1
 0.9 0.1
 0.9 0.1
 0.9 0.1
 0.9 0.1
 0.9 0.1
 0.9 0.1
 0.8 0.1
 0.8 0.1
 0.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.1 7.9
17.5 7.7
17.9 8.1
18.0 8.1
18.4 8.4
18.7 8.1
18.9 8.3
19.2 8.1
19.5 8.1
19.7 8.2
20.0 7.8
20.3 7.8
20.7 7.8
21.4 7.8

```

I have also noticed that, while the editor starts, if I go into my tty, I sometimes get kernel messages saying `audit: backlog limit reached.` Not sure what that means.

Whatever’s going on, I hope there’s something I can do to fix it. I can’t give up Linux OR Unreal Engine 4.
