Recently i have started getting following exception while running a test suite, could anyone please help:
Exception of type 'System.OutOfMemoryException' was thrown.
Show/Hide Stacktrace
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at Ranorex.Core.Testing.TestModuleActivator.DefaultFactoryMethod.CreateFactory() at Ranorex.Core.Testing.TestModuleLeaf.InitializeTestModuleInstance(TestModuleLeaf runTargetLeaf) at Ranorex.Core.Testing.TestModuleLeaf.GetTestModuleInstance(TestModuleLeaf runTargetLeaf) at Ranorex.Core.Testing.TestModuleLeaf.RunWithRepeats(DataContext parentDataContext, ErrorBehavior errorBehavior) at Ranorex.Core.Testing.TestModuleLeaf.Run(DataContext parentDataContext, Boolean childSkip)
Exception of type 'System.OutOfMemoryException' was thrown.
Re: Exception of type 'System.OutOfMemoryException' was thrown.
Hi,
Unfortunately, there is not enough details about the problem, your project or Ranorex version, to provide a reasonable answer. Please answer these questions:
Ranorex version?
When exactly did you get this error? Right after an attempt to start the exe or somewhere in the middle of test?
Have you tried an older version of test, taken from version control system?
Are you aware of any change on your desktop (windows updates, etc...)?
Have you tried to run the test on another machine? You just need to eliminate the possibility of problem with your machine.
Unfortunately, there is not enough details about the problem, your project or Ranorex version, to provide a reasonable answer. Please answer these questions:
Ranorex version?
When exactly did you get this error? Right after an attempt to start the exe or somewhere in the middle of test?
Have you tried an older version of test, taken from version control system?
Are you aware of any change on your desktop (windows updates, etc...)?
Have you tried to run the test on another machine? You just need to eliminate the possibility of problem with your machine.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration