# Mem leak in the Linux client?

**URL:** <https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039>\
**Category:** Linux\
**Created:** [March 16, 2022, 12:33pm UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039 "2022-03-16T12:33:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elassus\_Herron](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elassus_herron/32/360332_2.png) [@Elassus\_Herron](https://forums.eveonline.com/u/Elassus_Herron)\
**Post date:** [March 16, 2022, 12:33pm UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/1 "2022-03-16T12:33:17Z")

</div>

Ever since the 6th Feb. patch, the client has been suffering severe cumulative lag. After about an hour, my client (which normally runs 60fps without breaking a sweat) starts seesawing between 40fps and the mid-teens. After a couple hours, it’ll drop down into single digits, and eventually the client will freeze and drop the connection.

This feels like a memory-leak problem, but since my system RAM isn’t showing any problems (and I have 32GB of RAM there), I’m guessing it’s a problem with the GPU memory.

The only people I’ve heard are having this problem are Linux users, so I’m assuming it’s a problem with the wine client. I’m running wine-staging-7.3, the GPU is Radeon, I’m using dxvk-bin-1.9.2 (which I now see isn’t the latest for gentoo, so I’m upgrading right now).

Are any other Linux users running into this problem? Has anybody figured out what’s going on?

Cheers,

EH

---

<div class="post-metadata">

**Author:** ![Emotional\_Support\_Clown](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/emotional_support_clown/32/310422_2.png) [@Emotional\_Support\_Clown](https://forums.eveonline.com/u/Emotional_Support_Clown)\
**Post date:** [March 16, 2022, 12:39pm UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/2 "2022-03-16T12:39:30Z")

</div>

You could take a look here how to profile apps on Wine [Wine and Valgrind - WineHQ Wiki](https://wiki.winehq.org/Wine_and_Valgrind)

You can also use the ingame monitor app in Eve client.

---

<div class="post-metadata">

**Author:** ![Elassus\_Herron](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elassus_herron/32/360332_2.png) [@Elassus\_Herron](https://forums.eveonline.com/u/Elassus_Herron)\
**Post date:** [March 16, 2022, 12:56pm UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/3 "2022-03-16T12:56:42Z")

</div>

I can’t get valgrind to run (the error was about function redirection). What is the ingame monitor app?

---

<div class="post-metadata">

**Author:** ![Emotional\_Support\_Clown](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/emotional_support_clown/32/310422_2.png) [@Emotional\_Support\_Clown](https://forums.eveonline.com/u/Emotional_Support_Clown)\
**Post date:** [March 16, 2022, 1:18pm UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/4 "2022-03-16T13:18:53Z")

</div>

> [@Elassus\_Herron](#):
>
> What is the ingame monitor app?

{CTRL}+{SHIFT}+{ALT}+M

You can check the shortcuts in the {ESC} Shortcuts menu tab and enter “monitor” in the “filter”.

---

<div class="post-metadata">

**Author:** ![Elassus\_Herron](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elassus_herron/32/360332_2.png) [@Elassus\_Herron](https://forums.eveonline.com/u/Elassus_Herron)\
**Post date:** [March 16, 2022, 1:22pm UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/5 "2022-03-16T13:22:00Z")

</div>

Many thanks. I’ll leave that running for an hour or two and see what happens.

---

<div class="post-metadata">

**Author:** ![Elassus\_Herron](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elassus_herron/32/360332_2.png) [@Elassus\_Herron](https://forums.eveonline.com/u/Elassus_Herron)\
**Post date:** [March 16, 2022, 3:32pm UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/6 "2022-03-16T15:32:45Z")

</div>

so, after a couple hours of running the monitor, doing nothing but sitting in a station, sometimes undocking, hopping to another station in system and docking up again, the system monitor looks like this:

 ![2022.03.16.15.27.14 - sysmon crop](https://global.discourse-cdn.com/eveonline/original/4X/8/4/e/84e4499801226e24bd37c1be57392271d741c6c8.png)

That looks an awful lot like a memory leak, no?

---

<div class="post-metadata">

**Author:** ![Elassus\_Herron](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elassus_herron/32/360332_2.png) [@Elassus\_Herron](https://forums.eveonline.com/u/Elassus_Herron)\
**Post date:** [March 16, 2022, 4:24pm UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/7 "2022-03-16T16:24:57Z")

</div>

Update: I disabled Resource Cache, and the problem seems to have gone away. I’ll try it some more later in a CTA, and see if that helps.

---

<div class="post-metadata">

**Author:** ![Maktina](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/maktina/32/401607_2.png) [@Maktina](https://forums.eveonline.com/u/Maktina)\
**Post date:** [March 19, 2022, 7:06pm UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/8 "2022-03-19T19:06:51Z")

</div>

Could be a related issue, but I have always had this weird FPS bug where FPS drops get cumulatively worse over time when reloading ammo. It has happened on multiple systems, different distros and different hardware/installations. It’s particularly noticeable when swapping ammo types in Abyss or when the gun/launcher reloads itself after a number of times. For some reason manual reloading doesn’t cause it. It never truly went away and I learned to live with it, but seems to be horrendous in abyssals due to constantly changing ammo. It starts off OK, then gradually worsens as time goes on.

It’s the weirdest thing and I’ve never been able to find a solution in over a year of seeing it. Fortunately I work around it by simply not flying stuff that requires ammo swaps. It’s as simple as that! I suspect this is a related memory/caching problem and ONLY a Linux one.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [March 20, 2022, 9:07am UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/9 "2022-03-20T09:07:54Z")

</div>

I also had an issue, where lag spikes would add over time , with a delay of 1s.

Turns out disabling logs on file helped.

I also had increasing delay between actions (most likely API calls) with time. like, If my toon stays in jita 4h, then all the market actions are delayed by a good second. It looks to me like there is an issue with the file manager in wine (typically, keep the file open ?), and an issue with APIs

---

<div class="post-metadata">

**Author:** ![Emotional\_Support\_Clown](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/emotional_support_clown/32/310422_2.png) [@Emotional\_Support\_Clown](https://forums.eveonline.com/u/Emotional_Support_Clown)\
**Post date:** [March 20, 2022, 9:37am UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/10 "2022-03-20T09:37:28Z")

</div>

> [@Anderson\_Geten](#):
>
> Turns out disabling logs on file helped.

![image](https://global.discourse-cdn.com/eveonline/original/4X/8/3/d/83d37d13945c127039e6be23acd2f96864cfbd83.jpeg)

If their performance is slowing up when writing logs over time, perhaps they need to look at that.

Eve uses Python, possibly a source of many performance issues, and not just any Python, a dead Python 2.7.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [June 18, 2022, 9:37am UTC](https://forums.eveonline.com/t/mem-leak-in-the-linux-client/354039/11 "2022-06-18T09:37:47Z")

</div>

Closed on June 18, 2022, 9:37am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
