Search Unity

Memory allocation crash

Discussion in 'iOS and tvOS' started by PNordlund, May 16, 2018.

  1. PNordlund

    PNordlund

    Joined:
    Nov 20, 2013
    Posts:
    48
    I'm getting a memory allocation crash every now and then with my iOS build. Now using 2018.1f2 but this happened earlier as well. Usually making a new build fixes the issue so it's not really related to our app. And we don't allocate memory like this, that's 28 GB. Anybody seen something similar?

    default 19:25:34.348018 +0300 staging Could not allocate memory: System out of memory!
    Trying to allocate: 30358372352B with 16 alignment. MemoryLabel: DynamicArray
    Allocation happend at: Line:551 in
    Memory overview

    [ ALLOC_DEFAULT ] used: 87819107B | peak: 134950719B | reserved: 93457856B
    [ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 262144B
    [ ALLOC_TEMP_BACKGROUND_JOB ] used: 0B | peak: 0B | reserved: 1048576B
    [ IOS new_delete ] used: 0B | peak: 0B | reserved: 0B
    [ ALLOC_GAMEOBJECT ] used: 6556881B | peak: 6622417B | reserved: 6562217B
    [ ALLOC_GFX ] used: 4405317B | peak: 8252529B | reserved: 4424246B
    [ ALLOC_PROFILER ] used: 80B | peak: 80B | reserved: 103B
    [ ALLOC_TEMP_THREAD ] used: 38592B | peak: 0B | reserved: 2588672B

    default 19:25:34.348097 +0300 statging Could not allocate memory: System out of memory!
    Trying to allocate: 30358372352B with 16 alignment. MemoryLabel: DynamicArray
    Allocation happend at: Line:551 in
    Memory overview

    [ ALLOC_DEFAULT ] used: 87819107B | peak: 134950719B | reserved: 93457856B
    [ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 262144B
    [ ALLOC_TEMP_BACKGROUND_JOB ] used: 0B | peak: 0B | reserved: 1048576B
    [ IOS new_delete ] used: 0B | peak: 0B | reserved: 0B
    [ ALLOC_GAMEOBJECT ] used: 6556881B | peak: 6622417B | reserved: 6562217B
    [ ALLOC_GFX ] used: 4405317B | peak: 8252529B | reserved: 4424246B
    [ ALLOC_PROFILER ] used: 80B | peak: 80B | reserved: 103B
    [ ALLOC_TEMP_THREAD ] used: 38592B | peak: 0B | reserved: 2588672B


    (Filename: Line: 1092)