Fatal error: Twinmotion looks for paging file on a drive that does note exist

Twinmotion looks for a paging file on a drive that I do not have.

I’m running Twinmotion 2025.1.0 (40019550) on Windows 11. I have a Revit 2023 model that I synchronize with Twinmotion via Datasmith. When synchronizing, Twinmotion often crashes and displays a message like this:
“Fatal error:[File:D:\build\TM+202510\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 263] Ran out of memory allocating 66 (0.0 MiB) bytes with alignment 2.
Last error msg: The paging file is too small for this operation to complete.”

I don’t have a D: drive and Windows manages my paging file size.

Has anybody run into this issue? Thank you.

try this

Add a larger pagefile.sys to make up for only 8GB memory - Epic Developer Community Forums (unrealengine.com)

@Jimbohalo10 Thanks for your response. My paging file is managed by Windows. I can see its size fluctuating and it is orders of magnitude larger than what the error says tried to be allocated. However, the error has a detail that I also missed when reading it the first time. The error notes a D: drive: “[File:D:\ …” I do not have a D: drive. I don’t know what the error means but is Twinmotion looking for the paging file on a D: drive? It should be pointing to the C: drive where the paging file is on a Windows system.

hi @wojtek_MH @wojtek_MH

You need to add a manual page file .
See the updated note about turning Automatic pagefile

Manually Add larger 32GB page file to Windows 11

@Jimbohalo10 Thanks for the instructions on how to change paging file size. The size of the paging file does not appear to be an issue for me. It appears, per the error I posted, that Twinmotion is looking for a location that does not exist. It is looking for a location on a D: drive, a drive that I do not have. Why is Twinmotion looking for a location that does not exist? Is there a setting that I can change to point it to the correct drive? Is this something hard coded into Twinmotion?

This seems an old issue that has not been resolved. I found several related posts dating back to 2016! Here, here and here. All have an error message that begins with File:D:\ and ends with GenericPlatformMemory.cpp. I assume this process is looking for a file on a D: drive. Can somebody confirm that’s the case? As I noted, I do not have a D: drive.