CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Mac
Discussion about CrossOver Mac

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Unity app crashes because it runs out of video memory

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]

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiRm5meEdTeENTMmROQ2FyZCIsImdkcHIiOjB9