Hi, I'm trying to run an indie unity game and it consumes a lot of memory.
I'm on an M1 Max MacBook Pro with 64 GB of memory, and the game I'm running keeps crashing during a loading screen, looking at the unity logs, I can see that it can't allocate enough memory to store the massive textures and I see the logs below over and over again. I saw on the Linux forum that I could use regedit to set the VideoMemorySize to something bigger, but looking through the registers I did not find either Direct3D (at least not under Wine) and VideoMemorySize (not anywhere) I tried to created those two manually but obviously it did nothing. For the little you can do with it, the game runs fine. Is there any way to increase the VRAM available to the bottle or to the program itself? Are there softwares that I need to install?
(Filename: Line: 478
)
d3d11: failed to create 2D texture shader resource view id=3892 [D3D error was 80070057]
(Filename: Line: 497)
DynamicHeapAllocator allocation probe 1 failed - Could not get memory for large allocation 28829464.
DynamicHeapAllocator allocation probe 2 failed - Could not get memory for large allocation 28829464.
DynamicHeapAllocator allocation probe 3 failed - Could not get memory for large allocation 28829464.
DynamicHeapAllocator allocation probe 4 failed - Could not get memory for large allocation 28829464.
DynamicHeapAllocator out of memory - Could not get memory for large allocation 28829464!
Could not allocate memory: System out of memory!
Trying to allocate: 28829464B with 16 alignment. MemoryLabel: Texture
Allocation happend at: Line:559 in
Memory overview
[ ALLOC_DEFAULT ] used: 89642610B | peak: 0B | reserved: 108016198B
[ ALLOC_TEMP_JOB ] used: 1362149B | peak: 0B | reserved: 2097152B
[ ALLOC_TEMP_BACKGROUND_JOB ] used: 0B | peak: 0B | reserved: 1048576B
[ ALLOC_GFX ] used: 346523344B | peak: 0B | reserved: 351801480B
[ ALLOC_CACHEOBJECTS ] used: 25577216B | peak: 0B | reserved: 37748736B
[ ALLOC_TYPETREE ] used: 1980704B | peak: 0B | reserved: 4194304B
[ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B
[ ALLOC_TEMP_THREAD ] used: 72032B | peak: 0B | reserved: 5013504B
Could not allocate memory: System out of memory!
Trying to allocate: 28829464B with 16 alignment. MemoryLabel: Texture
Allocation happend at: Line:559 in
Memory overview
[ ALLOC_DEFAULT ] used: 89642610B | peak: 0B | reserved: 108016198B
[ ALLOC_TEMP_JOB ] used: 1362149B | peak: 0B | reserved: 2097152B
[ ALLOC_TEMP_BACKGROUND_JOB ] used: 0B | peak: 0B | reserved: 1048576B
[ ALLOC_GFX ] used: 346523344B | peak: 0B | reserved: 351801480B
[ ALLOC_CACHEOBJECTS ] used: 25577216B | peak: 0B | reserved: 37748736B
[ ALLOC_TYPETREE ] used: 1980704B | peak: 0B | reserved: 4194304B
[ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B
[ ALLOC_TEMP_THREAD ] used: 72032B | peak: 0B | reserved: 5013504B
(Filename: Line: 1090)
d3d11: failed to create 2D texture id=3930 width=4771 height=1803 mips=1 dxgifmt=28 [D3D error was 8007000e]
(Filename: Line: 478)
d3d11: failed to create 2D texture shader resource view id=3930 [D3D error was 80070057]