Xss is stack size, and in 99.9% of cases you should never change it.
It has nothing to do with vram allocation, that is totally automatic determined by the video card driver and hardware present.
Thank you.
I did search it up in the forums and found a few people with different values than the number I have.
Any idea why that is ?
They've changed it manually most likely, or perhaps older versions of Starsector used a different number.
The reason you'd want to change it is when your game crashed with a StackOverflowException and you don't think it was caused by a buggy mod. If the savegame has things nested sufficiently deeply, it can cause a stack overflow when reading/writing.
I wrote up a description of xss a few months ago:
You know Inception, where they go into a dream from a dream from a dream?
That concept is common in programming; you call/invoke functions from other functions, which puts the calling function on pause until the "inner" one finishes
Stack size is how many layers deep you can go
In Inception, they went what, 3 layers deep?
Xss is the max limit, and if it goes over that limit, you get a StackOverflowException
and that's why increasing the limit fixed it
The limit exists because most of the time, when a program goes over the limit, it's because there's a mistake in the code, eg function A invokes function B, which invokes function A, which invokes function B, which invokes function A, which invokes function B.....etc. It's an infinite loop.
And since you don't want that runaway code to eat tons of resources, a "reasonable limit" is put on it; the stack size (xss).