03-01-2016 02:08 AM
Hello,
i am using the attached code to show a picture with size ~1MB.
The code is called as teststep under TestStand.
Is this correct or is there something missing like closing any references?
Is the 1MB picture removed from memory after the step is finished or do i need any other function call?
Currently i have a memory problem that pops up an error with winforms out of memory.
Perhaps the problem is in here?
Thanks
03-01-2016 03:24 AM
As this is obviously a .NET interface, you have to look if there is some "unload picture" method available.
You run 32bit application on 64bit OS, correct?
Please check for memory fragmentation and make sure that test execution and reporting is configured for optimized memory behavior.
Also make sure not to run too many steps with default reporting or switch to On-The-Fly Reporting.
Norbert