X4: Foundations

X4: Foundations

View Stats:
X4 PANIC Error SOLVED
I get an error saying "SMem::Allocate () failed allocating 2818381353063 bytes - error Not enough space" I looked it up and some people said stuff about pagefiles but edited that and it still does not work. I'm using mods so I don't know if the could be it or not wondering if anyone has any idea why this is starting now after almost 200 hours played. This happens when I try and start a new game.

EDIT:
I found the issue it was an old mod that has since been taken off Nexus The "LT" mods, I removed them and the game works fine now!
Last edited by Monster Tamer Bloba; Oct 23, 2024 @ 3:35am
< >
Showing 1-5 of 5 comments
eMYNOCK  [developer] Oct 23, 2024 @ 2:06am 
SMem, short for System Memory... or at least thats what my research tells me.

how much real Ram do you have installed, how much Harddisk Space is free on your primary Drive, on the Drive were your Documents are Stored, were the Game it self is located and how large is your pagefile?

the Solution i found so far was to allocate roughly as much virtual Memory as Pagefile as you have RAM installed...

That topic however is over 3 Years old and i haven't done much with the Pagefile in ... longer than that.
Originally posted by eMYNOCK:
SMem, short for System Memory... or at least thats what my research tells me.

how much real Ram do you have installed, how much Harddisk Space is free on your primary Drive, on the Drive were your Documents are Stored, were the Game it self is located and how large is your pagefile?

the Solution i found so far was to allocate roughly as much virtual Memory as Pagefile as you have RAM installed...

That topic however is over 3 Years old and i haven't done much with the Pagefile in ... longer than that.
I have 16g of ram and 147g of space on the drive with X4 installed, I had as much as 80000 mb on my page file and it did not work, been messing with some mods and it seems to work after a removed a lot of them for some reason even though I used to have fewer mods and it worked fine before.
eMYNOCK  [developer] Oct 23, 2024 @ 2:20am 
80 thousand mb of pagefile... thats roughly 80 gigabytes do you need 80gb of virtual ram?

set your pagefilemanuall to 16384 as initial and final value.. thats the exact size of your ram... you usually do not need to exceed what your system has installed nor should you.

propably related... how many of these mods are script intense mods?
i'm talking about things like improved AI, improved behaviors etc... all that goes into memory before being processed.

also, take note.. this is not official support... i just try to help a fellow player in need.
Last edited by eMYNOCK; Oct 23, 2024 @ 2:20am
Yeah, I don't need the 80gb I just kept increasing it to see if it would ever work. I understand this is not official so thanks for taking the time out to help. I'm testing some mods right now to see if I can find the one that is breaking things.
eMYNOCK  [developer] Oct 23, 2024 @ 2:30am 
i would look at everything that adds behaviors or scripts first, than shiny stuff like new ship models, new sectors etc.

if nothing turns up the one by one method until you found the culprit should be a sure fire way.

be also aware.. if you try that in a running save it is possible that at one point the game simply won't launch the save anymore.

best route of action when that happens, make a vanilla creative custom save to ensure that it will be loaded.


if the absolutely worst happens though... keep a keen eye on your system resources, harddisk, memory etc.

not being able to allocate memory to the pagefile might be a hint at a failing drive.
Last edited by eMYNOCK; Oct 23, 2024 @ 2:33am
< >
Showing 1-5 of 5 comments
Per page: 1530 50