Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to allocate memory" crash with high texture memory pool size #428

Open
DoctorJaska opened this issue Feb 15, 2024 · 0 comments
Open

Comments

@DoctorJaska
Copy link

Springboard crashes with "Failed to allocate memory" upon start-up or while loading maps when TextureMemPoolSize is set to high values.

With TextureMemPoolSize in springsettings.cfg set to around 1900, Springboard crashes right after the loading screen vanishes when loading large maps. Smaller maps do not cause a crash. Tested with newly created, untouched 10x10 and 30x30 maps, as well as a 30x30 map with a heightmap, diffuse texture and objects placed. Only the edited 30x30 map causes a crash.

When TextureMemPoolSize is set to exactly 2046 or above it immediately crashes on start-up with "Failed to allocate memory". Set to 2045 it starts without issue, but crashes when loading a newly created 30x30 map. A new 10x10 map does not crash when loading it.

When it asks to increase the texture pool size to 3375 because it is too small for exporting the diffuse texture it results in an immediate crash on reloading with "Failed to allocate memory".

In all cases the launcher will show "Spring failed with code: 4294966293".

Crash on Loading.txt
Crash on Startup.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant