Hi there
We recently Upgraded Unity on our project from 5.6.1p1 to 2017.2.1f1. Whilst all of our other platforms ran OK, our standalone windows builds were crashing at random intervals on integrated graphics cards with errors such as
DynamicHeapAllocator allocation probe 1 failed - Could not get memory for large allocation 4194304.
DynamicHeapAllocator allocation probe 2 failed - Could not get memory for large allocation 4194304.
DynamicHeapAllocator allocation probe 3 failed - Could not get memory for large allocation 4194304.
DynamicHeapAllocator allocation probe 4 failed - Could not get memory for large allocation 4194304.
DynamicHeapAllocator out of memory - Could not get memory for large allocation 4194304!
Could not allocate memory: System out of memory!
Trying to allocate: 4194304B with 16 alignment. MemoryLabel: STL
Allocation happend at: Line:78 in C:\buildslave\unity\build\Runtime/Allocator/STLAllocator.h
Memory overview
[ ALLOC_DEFAULT ] used: 423462982B | peak: 0B | reserved: 513760166B
[ ALLOC_TEMP_JOB ] used: 479460B | peak: 0B | reserved: 3145728B
[ ALLOC_TEMP_BACKGROUND_JOB ] used: 0B | peak: 0B | reserved: 1048576B
[ ALLOC_GFX ] used: 40210296B | peak: 0B | reserved: 53040492B
[ ALLOC_CACHEOBJECTS ] used: 46352780B | peak: 0B | reserved: 60817408B
[ ALLOC_TYPETREE ] used: 46512B | peak: 0B | reserved: 4194304B
[ ALLOC_PROFILER ] used: 14802168B | peak: 0B | reserved: 20971520B
[ ALLOC_TEMP_THREAD ] used: 33280B | peak: 0B | reserved: 3244032B
Could not allocate memory: System out of memory!
Trying to allocate: 4194304B with 16 alignment. MemoryLabel: STL
Allocation happend at: Line:78 in C:\buildslave\unity\build\Runtime/Allocator/STLAllocator.h
Memory overview
and also
DynamicHeapAllocator allocation probe 1 failed - Could not get memory for large allocation 4194304.
DynamicHeapAllocator allocation probe 2 failed - Could not get memory for large allocation 4194304.
DynamicHeapAllocator allocation probe 3 failed - Could not get memory for large allocation 4194304.
DynamicHeapAllocator allocation probe 4 failed - Could not get memory for large allocation 4194304.
DynamicHeapAllocator out of memory - Could not get memory for large allocation 4194304!
Could not allocate memory: System out of memory!
Trying to allocate: 4194304B with 16 alignment. MemoryLabel: GfxDevice
Allocation happend at: Line:62 in C:\buildslave\unity\build\Runtime/Containers/WrappingRingbuffer.h
Memory overview
[ ALLOC_DEFAULT ] used: 407483250B | peak: 0B | reserved: 483123006B
[ ALLOC_TEMP_JOB ] used: 439348B | peak: 0B | reserved: 3145728B
[ ALLOC_TEMP_BACKGROUND_JOB ] used: 0B | peak: 0B | reserved: 1048576B
[ ALLOC_GFX ] used: 47468496B | peak: 0B | reserved: 58633012B
[ ALLOC_CACHEOBJECTS ] used: 43312896B | peak: 0B | reserved: 56623104B
[ ALLOC_TYPETREE ] used: 36688B | peak: 0B | reserved: 4194304B
[ ALLOC_PROFILER ] used: 13491340B | peak: 0B | reserved: 16777216B
[ ALLOC_TEMP_THREAD ] used: 32768B | peak: 0B | reserved: 3244032B
Could not allocate memory: System out of memory!
Trying to allocate: 4194304B with 16 alignment. MemoryLabel: GfxDevice
Allocation happend at: Line:62 in C:\buildslave\unity\build\Runtime/Containers/WrappingRingbuffer.h
Memory overview
After we decided to move our standalone player up to 64-bit theses errors went away. Is there a problem with standalone 32-bit in 2017? As we never saw these issues in 5.6.1p1