01-29-2018 01:26 PM
Hi,
I had developed test sequence in teststand 2016 SP1 which should run continuously for 60 days.. After running for 2 days, program crashes and throws out of memory exception error. I did check On-the Fly report, Only display latest result and in result processing and in Model option, select discard results.. option still out memory issue happens.. What could be the solution?,
I am using windows 10 - 64 bits having 4GB RAM
Appreciated and thanks in advance
01-29-2018 01:29 PM
error message :
Report
Error, An exception occurred inside the call to .NET member 'GenerateReport': System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.\r at System.Text.Encoding.GetBytes(String s)\r at NationalInstruments.TestStand.Shared.TSDotNetLib.ReportFileStream.Replace(Int64 offset, Int64 size, String data)\r at NIOTFReportGenerator.OTFRptGenerator.GenerateReport(SequenceContext sequenceContext, String inputReportHeader, String inputReportFooter, ReportSection& mainSequenceReportSection, String& errorMessage, Double& errorCode, Boolean& errorOccurred)[Error Code: -2147024882, User-defined error code. ] |
01-29-2018 01:35 PM - last edited on 07-17-2024 11:37 PM by Content Cleaner
Troubleshooting Memory Growth Issues in TestStand Systems
This document and its sub-docs have loads of good info on this topic.
-Trent
01-29-2018 02:00 PM
thanks WireWaver for reply . How to check memory in CPU -task manager -performance?
how to check individual memory usage in .net or other field memory usage? Initially when program started I looked on performance screen for 1 hour , CPU memory wasn't increasing in first hour. My program has mainly two main - for loops inner is runs for 270 iteration/day (each iteration is of 5 minutes) and outer is running for 60 days. So I can i assume if memory won't increase in first one hour than it shouldn't increase in subsequent time?
thanks,