From 3f0a166aa6cab74a35ba6bf3feae19cf220bbf30 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 13 Dec 2021 19:18:41 +0000 Subject: [PATCH] B2021-147 Fixed out of memory error while importing a procedure set that has lots of images. --- PROMS/VEPROMS.CSLA.Library/Generated/Image.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Generated/Image.cs b/PROMS/VEPROMS.CSLA.Library/Generated/Image.cs index 58426472..d9936cba 100644 --- a/PROMS/VEPROMS.CSLA.Library/Generated/Image.cs +++ b/PROMS/VEPROMS.CSLA.Library/Generated/Image.cs @@ -59,7 +59,8 @@ namespace VEPROMS.CSLA.Library private static List _CacheList = new List(); protected static void AddToCache(Image image) { - if (!_CacheList.Contains(image)) _CacheList.Add(image); // In AddToCache + // B2021-147 commented out to fix out of memory bug + //if (!_CacheList.Contains(image)) _CacheList.Add(image); // In AddToCache } protected static void RemoveFromCache(Image image) {