Jump to content

While minimized, eats more and more ram until there is no more ram to use on the computer


So basically I sometimes leave the game in background minimized because other stuff come up or something but still want to play, but when i do such, after like hour or more, the ram gets "eaten" as if i was using chrome.
This wouldn't be a big issue if I had 8gb of ram, but I have 32gb of ram, and ram going down from 32gb with the game open, to 6gb with it closed, is a big problem i think.
My specs are in signature.

I have a somewhat possible fix/solution what could work, and it is somewhat from minecraft, basically, have a way to put a max allowed ram usage for the game in the launcher.

  • Haha 1
  • Upvote 1

Share this post


Link to post
Share on other sites

Hello @TagsonYT,

 

Could you please upload the .clog file from when that happened?

 

 

Share this post


Link to post
Share on other sites

To be honest I ran into a similar memory leak kind of a problem today, too: while playing GF SB the game works fine on my first spawn but when after dying I attempt to spawn second time, the game usually (though not always) starts hogging up memory like mad, then starts filling up swap as well up to the point where the machine is basically frozen in a few seconds with hard reset being the only option. Happened to me already at least five times in a few hours this evening. I even stopped attempting to spawn the second time eventually.

 

I suspect it may have something to do with the today's patch because I've played for a few hours the day before yesterday and the game didn't crash like this at all and I do believe I've spawned twice at least a couple times.

 

Attaching one of my last clog files where it happened, I believe.

2020_11_27_20_12_16__6262.clog

medal

Share this post


Link to post
Share on other sites

@TagsonYT,

 

Right, Does it always usually take the same amount of time for this to happen? And if so how long exactly?

Share this post


Link to post
Share on other sites

Just a note, apparently it eats video RAM not the main RAM. I just had my system hang with 3GB of VRAM not returned by the crashed game. It takes hours but it gets there always, and it always happened while the game is minimized.

medal

Share this post


Link to post
Share on other sites
1 hour ago, NSallaNuto said:

Just a note, apparently it eats video RAM not the main RAM. I just had my system hang with 3GB of VRAM not returned by the crashed game. It takes hours but it gets there always, and it always happened while the game is minimized.

Well i had the main RAM at maximum, i have the system monitor open almost all the time and i saw it go from 32gb usage, to 6gb.

Share this post


Link to post
Share on other sites
33 minutes ago, TagsonYT said:

Well i had the main RAM at maximum, i have the system monitor open almost all the time and i saw it go from 32gb usage, to 6gb.

 

Weird, I will look for both next time.

medal

Share this post


Link to post
Share on other sites

@TagsonYT, @NSallaNuto, @laachta,

 

Right, Could you all please wait for it to happen again, When it does upload the .clog file from that session and if possible keep an eye on both your system RAM and VRAM usage (You can use nvtop to monitor GPU process usage on Nvidia GPUs) and post a screenshot of both or either when the "aces" is using more RAM than it should or just tell how much it was using. As well as your full system information.

Share this post


Link to post
Share on other sites
10 hours ago, apemax said:

@TagsonYT, @NSallaNuto, @laachta,

 

Right, Could you all please wait for it to happen again, When it does upload the .clog file from that session and if possible keep an eye on both your system RAM and VRAM usage (You can use nvtop to monitor GPU process usage on Nvidia GPUs) and post a screenshot of both or either when the "aces" is using more RAM than it should or just tell how much it was using. As well as your full system information.

With all due respect, but this kind of work should be done by Gaijin....

medal medal medal medal medal medal

Share this post


Link to post
Share on other sites
On 30/11/2020 at 21:42, apemax said:

@TagsonYT, @NSallaNuto, @laachta,

 

Right, Could you all please wait for it to happen again, When it does upload the .clog file from that session and if possible keep an eye on both your system RAM and VRAM usage (You can use nvtop to monitor GPU process usage on Nvidia GPUs) and post a screenshot of both or either when the "aces" is using more RAM than it should or just tell how much it was using. As well as your full system information.

i do agree with @toyeLinux a bit, that the the people at gaijin should do this but then again they cant do it all by themselves, and thus try to use the player's input,

Anyways, i have screenshots of the ram memory getting filled overtime, and the clog from that game, but no info about the gpu usage, then again i dont have the nvtop thing, and also i play on high settings so its going to be at 70% for gpu and 30% memory at least most of the time, when unfocused the game then its obviously at low usage at like max 10% for gpu and max 15% for memory.

 

1817069281_Screenshotat2020-12-0121-51-5

This is when i started the game

 

1957239272_Screenshotat2020-12-0121-54-1

About 3 mins into unfocused

 

1237006338_Screenshotat2020-12-0122-00-1

About 9 mins into unfocused

 

646867527_Screenshotat2020-12-0122-01-19

~11 mins, you can see the swap quickly rising now

 

1052013834_Screenshotat2020-12-0122-02-0

~12 mins, again with the swap

 

1661630721_Screenshotat2020-12-0122-03-1

~13 mins when computer lagged and then linux closed the game, as you can see, swap stayed at high usage afterwards for some reason.

 

2020_12_01_21_37_02__32558.clog

And the .clog file from that time.

 

P.S. I have temporarily less memory to really show how this can be bad for lower end pc's, as I now usually have 32 gb ram.

Share this post


Link to post
Share on other sites

@TagsonYT,

 

Right, Thank you, Could you please post your full system information as per the reporting guidelines? Also could you please tell me what Desktop Environment you are using? Also, Wher are you in game when you did that test? Just sat in the hanger? Also I'm assuming you check it was the aces process that was using up the memory?

 

 

@toyeLinux,

 

Well, The reason I need this information from you is because the more information I can give to the Devs the easier it will be for them to fix it. The more information I can give them the less time they have to spend figuring it out by themselves.

Share this post


Link to post
Share on other sites

Had a crash yesterday but wasn't sure if it was an out of memory crash or another error as I was holding down the space bar at the time when the error dialog box popped up and that dismissed the error right away.

 

Trying to replicate the crash again. I'm using a program named smem to monitor the USS memory segment of the aces process. It seems to slowly creep up nonstop despite the game running idle in the background, in the hangar.

 

(edit) In the past, I've had multiple "OUT OF VRAM" messages, but watching radeontop never showed my card running out of VRAM.

Edited by Falsom

Share this post


Link to post
Share on other sites

Crash happened again, game was in the background idling in the hangar.

I played a round, then switched to other programs, took about 2 hours until it crashed.

Using smem to track memory at the moment it crashed, USS size was~2.58G and had been creeping up slowly a a rate of around 128K per second.

Radeontop says only about 4G of video ram was used (out of a total of 8GB VRAM)

 

Screenshot_2020-12-04_13-47-49.png

2020_12_03_22_10_26__7642.clog

Edited by Falsom
  • Haha 1

Share this post


Link to post
Share on other sites

Another crash, "Out of video memory", USS memory kept creeping up until it reached 2868236KB then crash. Game idling in the background again. 

I noticed that if I start the game, login, then minimize it, the RAM doesn't seem to creep up and lead to a crash. But after I play a couple games then minimize, then the RAM use creeps up and crashes.

[email protected] ~ $ inxi -F
System:    Host: localhost Kernel: 5.8.18-gentoo x86_64 bits: 64 Desktop: Xfce 4.14.3 
           Distro: Gentoo Base System release 2.7 
Machine:   Type: Desktop Mobo: ASRock model: B450M Steel Legend serial: <superuser/root required> 
           UEFI: American Megatrends v: P3.30 date: 07/13/2020 
CPU:       Info: 12-Core model: AMD Ryzen 9 3900X bits: 64 type: MT MCP L2 cache: 6144 KiB 
           Speed: 2195 MHz min/max: 2200/3800 MHz Core speeds (MHz): 1: 2089 2: 4400 3: 2195 4: 2204 
           5: 2194 6: 4389 7: 2195 8: 2202 9: 2195 10: 2188 11: 2196 12: 2195 13: 2195 14: 2197 15: 2196 
           16: 2194 17: 2185 18: 2196 19: 2193 20: 2194 21: 2197 22: 2194 23: 2195 24: 2199 
Graphics:  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] driver: amdgpu v: kernel 
           Display: server: X.Org 1.20.8 driver: amdgpu resolution: 2560x1440~60Hz 
           OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.38.0 5.8.18-gentoo LLVM 9.0.1) 
           v: 4.6 Mesa 20.3.0 
Audio:     Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] driver: snd_hda_intel 
           Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k5.8.18-gentoo 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: 70:85:c2:d3:c1:ef 
Drives:    Local Storage: total: 1.20 TiB used: 302.62 GiB (24.7%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 250GB size: 232.89 GiB 
           ID-2: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
           ID-3: /dev/sdb vendor: A-Data model: SX900 size: 59.63 GiB 
           ID-4: /dev/sdc type: USB vendor: Generic model: USB Flash Disk size: 499.8 MiB 
Partition: ID-1: / size: 15.00 GiB used: 6.11 GiB (40.7%) fs: f2fs dev: /dev/nvme0n1p3 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 67.9 C mobo: 42.0 C gpu: amdgpu temp: 44.0 C 
           Fan Speeds (RPM): fan-1: 1086 fan-2: 3268 fan-3: 0 fan-4: 0 fan-5: 0 gpu: amdgpu fan: 794 
Info:      Processes: 352 Uptime: 23h 16m Memory: 15.66 GiB used: 9.11 GiB (58.2%) Shell: Bash 
           inxi: 3.1.06 

 

2020_12_04_13_53_53__19158.clog

Share this post


Link to post
Share on other sites

is easy to reproduce:

 start the game -> go to test drive -> kill a tank -> minimize -> done

the game will grow slowly until the crash (the step in bold is important, if you don't kill nothing, there is not memory leak)

31067578-3e86-b726-154339f6-2bd2cd9f.dmp 2020_12_05_11_29_59__12591.clog

Edited by toyeLinux
  • Haha 1
medal medal medal medal medal medal

Share this post


Link to post
Share on other sites

Game froze on me again just now. Played one battle, then while waiting for another one with the game minimized I notice the rig starting to become increasingly non-responsive. I try to switch back to the game but I get a "freeze detected" message instead and the game sorta kills itself. Good thing it didn't take the whole system with it this time in any case.

 

Attaching the respective .clog.

2020_12_07_18_36_26__21777.clog

  • Haha 1
medal

Share this post


Link to post
Share on other sites
On 03/12/2020 at 19:33, apemax said:

 

Right, Thank you, Could you please post your full system information as per the reporting guidelines? Also could you please tell me what Desktop Environment you are using? Also, Where are you in game when you did that test? Just sat in the hanger? Also I'm assuming you check it was the aces process that was using up the memory?

sorry for late reply, didnt get any notifications here,
I was in hangar indeed.
And yes, aces process was the one.
Well i have reported everything, and all the system information in my signature but here,

All info compressed:

Spoiler

System: OS: Linux Mint 20 (Ulyana)      Kernel: 5.4.0-48-generic, CPU: Ryzen 5 3600, GPU: GTX 1050Ti, MB: B450 AORUS PRO, RAM: 16gb 3200mHz

GPU info:

Spoiler

06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1) (prog-if 00 [VGA controller])

Driver info:

Spoiler

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 450.80.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 450.80.02
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 450.80.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

CPU info:

Spoiler

model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2195.373
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2195.019
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2195.280
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2104.307
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2003.567
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2464.404
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2195.252
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2194.617
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2195.248
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2054.931
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2107.373
cache size    : 512 KB
cpu cores    : 6
model        : 113
model name    : AMD Ryzen 5 3600 6-Core Processor
cpu MHz        : 2223.613
cache size    : 512 KB
cpu cores    : 6

Share this post


Link to post
Share on other sites

@apemax I can confirm this behavior on Fedora with kernel 5.9.11-100 and Xfce. Game is minimized, sitting in hangar after playing 1 match, and the game eats up RAM like candy. Have seen the game exhaust 192GB of RAM.  Intel CPUs, Nvidiia 2070 RTX with latest official drivers, etc, etc. This 100% absolutely started happening after the "New Power" update. There was no memory leak like this before that update. Something interesting to note, if you catch the game before it uses ALL of the memory and you restore it to full-screen, the memory usage drops back down to semi-normal levels.

Edited by D15EA5E
medal medal medal medal medal medal medal medal medal medal medal medal medal

Share this post


Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...