NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand 2016 program throws out of memory error after running 2 days

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

0 Kudos
Message 1 of 4
(2,627 Views)

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. ]
0 Kudos
Message 2 of 4
(2,625 Views)

Troubleshooting Memory Growth Issues in TestStand Systems

 

This document and its sub-docs have loads of good info on this topic.

-Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 3 of 4
(2,616 Views)

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,

 

0 Kudos
Message 4 of 4
(2,610 Views)