Message 1 of 6
Autodesk.Revit.DB.CustomExporter.Export(IList`1 viewIds) can run out of RAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Sometimes, we'll see exceptions like these from our customers. Haven't been able to get a model to reproduce with, but will attach to this thread if we do. I'd imagine it occurs when running a customExporter on a geometrically complex 3d View.
Is it possible to check whether sufficient memory is available, before invoking the Export() call?
Exception:
Autodesk.Revit.Exceptions.ExternalApplicationException: Exception of type 'System.OutOfMemoryException' was thrown.
at Autodesk.Revit.DB.CustomExporter.Export(IList`1 viewIds)