Description

Trying to import a large Revit asset using Datasmith causes the system to use all of it's memory. Certain systems may receive a memory allocation error in the process.

Steps to Reproduce
  1. Attempt to import an asset from Revit that is around 3.5GB worth of assets

Result: This will result in a memory allocation error: Ran out of memory allocating 3990934 bytes with alignment 0

Expected: Import the asset as normal without using all of the systems RAM

Callstack
  1. Fatal error: [Link Removed] [Line: 200] Ran out of memory allocating 2209056 bytes with alignment 0
  2. UE4Editor-DatasmithImporter!2c1c0000 + ac384
  3. UE4Editor-DatasmithImporter!2c1c0000 + 6fc09
  4. UE4Editor-DatasmithImporter!2c1c0000 + 6fa5e
  5. UE4Editor-Core!FQueuedThread::Run() [ThreadingBase.cpp:455]
  6. UE4Editor-Core!FRunnableThreadWin::Run() [WindowsRunnableThread.cpp:76]
  7. UE4Editor-Core!FRunnableThreadWin::GuardedRun() [WindowsRunnableThread.cpp:33]
  8. KERNEL32!85da0000 + 17e94
  9. ntdll!870a0000 + 6a251

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

11
Login to Vote

Fixed
Fix Commit9543976
Main Commit11224363
CreatedJan 17, 2019
ResolvedOct 12, 2019
UpdatedOct 6, 2020