Message 1 of 13
Memory Consumption Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We are running an automated Revit instance against a model where many views are opened one after another and each time we perform read-only processing of the elements in each view. The problem is that memory continues to grow throughout the processing. Attached is an image of memory/cpu usage for a job that processed 61 views. We have added a call to Application.PurgeReleasedAPIObjects between processing each view, and made a call to View.Dispose() as well. However, memory continues to climb. What other steps can we take to prevent memory growth during processing?
The test was with Revit 2015. The plot in the attached image includes 2nd y axis that shows the CPU usage. Memory series are using the 1st y axis.