Product(s): | WaterGEMS, SewerGEMS, CivilStorm, StormCAD, PondPack, SewerCAD, HAMMER, WaterCAD | ||
Version(s): | 08.11.XX.XX and higher | ||
Area: | General |
During normal modeling work or when saving a model, a memory error occurs. Possible symptoms/wording:
Insufficient memory available to analyze the current model
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown
If the error occurs when attempting to open a model with a large background layer or when attempting to add a large background, see the below article:
Out of memory error when loading a background file
If the error occurs when saving the model, first check to see if your .WTG file is very large, then see the below article:
System.OutOfMemoryException when viewing graphs or saving a model (Solution 500000095642)
If the above does not help or if you're encountering the error when doing something else like computing the model, opening Skelebrator, etc, you may be running out of physical memory. If you're working with a very large model, it can occupy a very large amount of memory. If you have other programs open at the same time they take up sections of memory and make it difficult for WaterGEMS to "fit" your model into a contiguous block of memory.
This can occur mostly when using the 32-bit version of the product, either in the Standalone, MicroStation, AutoCAD or ArcGIS platform, as much less memory is available as 32-bit. Only older versions of the software (except for PondPack) have a 32-bit option. The latest versions (except for PondPack) are 64-bit only.
32-bit versions are limited to 2 GB (or 3GB if using "3GT tuning") whereas the 64-bit version will essentially use all of your available memory. You can also check your computer's available memory (and whether your operating system is 64-bit), typically via a Right Click > Properties on the 'My Computer' icon on the desktop.