Out of Memory Crash - Need developer input - Modded Game.

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

zeyto1337
Posts: 5
Joined: Wed, 9. Apr 25, 15:35
x4

Out of Memory Crash - Need developer input - Modded Game.

Post by zeyto1337 »

Hello,

I have been playing this game with just minor issues for almost 500hours now. But after the latest patch, I started to recieve crashes caused by memory allocation.
I own all of the DLCs and have these activated in my game

So I'm running a couple of mods and I need help seeing if one of these are the culprit. I will post the list at the end of this post. At this point I'm not sure if this is caused by the mods or the game itself or a mix of both.

My current save is well into the 400h+ marker now.

I recive an out of memoyr exception when assigning large chunks of memory. I have been monitoring my game closley and I suspect there is a memory leak.
I need help identifiying the culplrit :gruebel:

Scenario when crash happens:

I'm attacking Xenon territory with my fleet (around 200 ships) , attaccking their stations etc. After a while there seems to be a hundred dead drones around my capital ship and the emmediate area.

My system:
64GB RAM - 6000Mhz
AMD 7800X3D
Nvidia 4080 Super

The game is running on a M.2 NVMe drive.

Page file is set to be handled by my OS (Windows 10).

I have uploaded my latest crash dump here : https://filebin.net/lujgt66io2v4e40r/X4 ... 9_12_08.7z

Im running these mods, perhaps there is someone that knows something specific regarding any of these.
  • Inventory Collector
    ArgonMatt's Split Tiger - XL Battleship - 6.0+ COMPATIBLE
    ArgonMatt's Argon Leviathan - XL Battleship - 6.0+ COMPATIBLE
    ArgonMatt's Paranid Agamemnon - XL Battleship - 6.0+ COMPATIBLE
    Vibrant Engine Plumes
    Lost Ships Replacement Enabler
    Lost Ships Replacement - Phantom Crew Revealer
    X4 Fire and Smoke
    Sector Explorer
    Max Equipment Mods
I'm a systems engineer so if you want me to dig even deeper, I have no problems in doing so, just let me know :)

Thank you in advance, love your game <3
CBJ
EGOSOFT
EGOSOFT
Posts: 54585
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Out of Memory Crash - Need developer input

Post by CBJ »

Unfortunately there's not much we can do with a game that has mods installed, and you'd have to take the issue up with the author(s) of those mods. If you were able to reproduce the issue with an unmodified game then we might be able to take a deeper look, but you'd also need to provide a DXDiag and vulkaninfo, as requested at the top of the forum.

I can take a look at your crashdump briefly, but it probably won't tell us more than you've already told us if it's an out of memory error. I don't want to install 7Zip just to view it, though, so could you upload it uncompressed? It's a tiny file.
zeyto1337
Posts: 5
Joined: Wed, 9. Apr 25, 15:35
x4

Re: Out of Memory Crash - Need developer input

Post by zeyto1337 »

Completley understandable that you can't do anything with a modified game, this is on me. I just need a kick in the right direction so to speak.

Reupload of the the dumpfile: https://filebin.net/h90n9lkja9nfgz45

Below is output from DxDiag and VulkanInfo.

https://filebin.net/62oa4vuhespmnqod
Alan Phipps
Moderator (English)
Moderator (English)
Posts: 32313
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Out of Memory Crash - Need developer input

Post by Alan Phipps »

From your DxDiag, that's the longest list of graphics and sound devices and drivers that I've seen in a long time. Some of the sound drivers are pretty old.

An odd thing is that there are no crashes in your Windows Error Reporting but several memory usage warnings for different applications but not X4.
A dog has a master; a cat has domestic staff.
zeyto1337
Posts: 5
Joined: Wed, 9. Apr 25, 15:35
x4

Re: Out of Memory Crash - Need developer input

Post by zeyto1337 »

Well this is more a system than a regular PC at this point, I'm running a virtual soundmixer thats why you see a lot of sound drivers, sadly needs to work with legacy devices.

I was also expecting some RADAR_PRE_LEAK_64 events , but I can't find anything in my OS relating to X4.
Most of those events are from beta branches so those are expected
zeyto1337
Posts: 5
Joined: Wed, 9. Apr 25, 15:35
x4

Re: Out of Memory Crash - Need developer input

Post by zeyto1337 »

I did find this though:

Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: X4.exe (107032) consumed 60806721536 bytes,
Alan Phipps
Moderator (English)
Moderator (English)
Posts: 32313
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Out of Memory Crash - Need developer input

Post by Alan Phipps »

Well you have 16 Gb dedicated fast VRAM on your graphics card, 32 Gb from 64 Gb system RAM offered as shared graphics memory, and a swapfile of 43 Gb on your SSDSs. I don't think 60 Gb peak virtual memory usage should be an issue unless other high usage apps were running as well. Maybe if it kept growing without flushing then it could become a big problem.
A dog has a master; a cat has domestic staff.
CBJ
EGOSOFT
EGOSOFT
Posts: 54585
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Out of Memory Crash - Need developer input

Post by CBJ »

So I've checked your crashdump, and it is indeed an out of memory error. It crashed while trying to allocate more space for particles, but that doesn't tell us much as it's probably just the last straw. Mods can consume excessive memory in a number of ways: visual mods that add ships and effects can simply be over-ambitious, for example, while script-based mods can actively leak memory by failing to keep track of the things they create. Good luck tracking down which mod it is, and do report back if you manage to reproduce it in a game started and played without any of them.
zeyto1337
Posts: 5
Joined: Wed, 9. Apr 25, 15:35
x4

Re: Out of Memory Crash - Need developer input

Post by zeyto1337 »

Thank you for putting down the effort, it really helps, a lot!
I will see if I can pin down if the culprit as a mod or if I can reproduce this in vanilla.

Will update you if I manage to reproduce this in a vanilla!

Thank you

Return to “X4: Foundations - Technical Support”