01-31-2018 07:14 AM
Hello,
i have a testsequence which contains only one subsequence.
Result recording of this subsequence is diasabled.
Result processing is also disabled.
In the subsequence is a for loop that runs endless.
In the for lopp are no other steps. It is only the "for" and "end".
Now i wonder why this construct needs memory when executing?
When i check the taskmanager in the memory-tab i see
1610MB free if not running
1600MB free after 10k loops
1500MB free after 45k loops
1400MB free after 63k loops
1300MB free after 97k loops
...
What is happening with these 300MB memory?
If the testplan runs longer it says "-1700 - Out of memory".
Thx
TM
Solved! Go to Solution.
01-31-2018 09:20 AM
What version of TestStand are you using? Are you running with the process model or in interactive mode? I tested it out and got up to 700k iterations....no extra memory consumption. And I had a step inside of the for loop that was displaying the iteration.
Regards,
01-31-2018 09:29 AM
Hi,
i am using TS2016 SP1 32bit on a Windows 7 64 bit running in a VirtualBox.
I disabled the model and get the same results. (Execute + Run mainsequence)
Also when selecting only the to steps "For + End " -> Run selected steps -> memory consumpetion the same.
01-31-2018 09:44 AM
My fault.
In the sequence call i only disabled Result recording of the call and not of the steps inside.
If i open the subsequence and select [x] disabled result recording for all steps then the memory does not change.
So what i saw was the result collection. (300mb are used for logging 97k times for + end.)
Thx for your tests
01-31-2018 09:56 AM
Glad you figured it out. Good luck!