Skip to content

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

@DoctorJaska

Description

@DoctorJaska

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions