This can occur if you open multiple NavMaps within the same session meaning if you open a NavMap and close it and open another NavMap, that this problem can occur.
Once a OutOfMemoryException occurs anything can go wrong and TestDesigner will be totally unpredictable. You must exit and restart TestDesigner.
Typically large Navigation Maps are the cause of this problem. Quantity of Screens, Components, and Thumbnail images saved in the Screen Editor.
Here are options listed in order of the amount of memory that can be saved.
- Break up your NavMap into smaller NavMaps to reduce the size saved in RAM at one time. This can also noticeably improve TestDesigner performance.
How many ports have been done on this NavMap to other Platform Groups? All Ports of the NavMap are opened when a NavMap is opened and each Port will have a duplicate set of images. If you can delete some of your ports, you would save a lot of RAM.
- In the NavMap ScreenEditor, there are Thumbnails that can be used to save images. If you have saved various images in your Thumbnails, this will take up significant space depending on the size of your screen and the quantity of saved Thumbnail images. You would need to look at each NavMap Platform Group / port and delete Thumbnail images from all NavMap Platform Groups to reduce the maximum amount of memory.
- In TestDesigner->File->Preferences there is a setting "Maximum memory consumed by log attachments, MB" and he default setting is 200 MB. You could reduce this amount to say 20MB if you wanted to save 180MB of RAM. This may be a relatively small change but could possibly make a difference.