SystemOutOfMemory-Exception while performing testsuite via remote-settings

Bug reports.
EEVO123
Posts: 1
Joined: Thu Apr 28, 2022 10:05 am

SystemOutOfMemory-Exception while performing testsuite via remote-settings

Post by EEVO123 » Thu May 05, 2022 9:31 am

Hi,
I have an "System.OutOfMemoryException" while performing my testsuite via remote-settings on a Windows 10-Maschine for at least one testcase without any changes to the Maschine or the testsuite/testcase. It's not always the same testcase and sometimes it is also more than one testcase. If I run the testcase in question again to check the problem, the exception doesn't appear.
Maybe someone can give me a hint in the right direction, how to to fix that issue?
I checked the forum, if there were similar issues with a solution I could try but so far I didn't find something fitting my problems.

We are currently using Ranorex 10.1.6.

That's the Exception:

Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst.
Show/Hide Stacktrace
bei System.Diagnostics.StackTrace.GetStackFramesInternal(StackFrameHelper sfh, Int32 iSkip, Boolean fNeedFileInfo, Exception e)bei System.Diagnostics.StackFrameHelper.InitializeSourceInfo(Int32 iSkip, Boolean fNeedFileInfo, Exception exception)bei System.Diagnostics.StackTrace.CaptureStackTrace(Int32 iSkip, Boolean fNeedFileInfo, Thread targetThread, Exception e)bei Ranorex.Core.Reporting.ActivityStack.CaptureUserStackFrame()bei Ranorex.Core.Reporting.ActivityStack.AddCodeMetaInfo(IDictionary`2 metaInfos)bei Ranorex.Report.CombineMetaData(IReportMetadata[] metaData)bei Ranorex.Report.Log(ReportLevel level, String category, String message, Boolean escape, IReportMetadata[] metaData)bei Ranorex.Core.Testing.TestRunHelper.ReportError(Exception ex)bei Ranorex.Core.Testing.TestRunHelper.HandleError(Exception ex)bei Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)bei Ranorex.Core.Testing.TestModuleLeaf.RunWithRepeats(DataContext parentDataContext, ErrorBehavior errorBehavior)bei Ranorex.Core.Testing.TestModuleLeaf.Run(DataContext parentDataContext, Boolean childSkip)