From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

-17500 System Our of Memory Exception

Solved!
Go to solution

Hello,

 

I am seeing strange behavior when I first start TestStand. I am getting an error -17500 'System Out Of Memory Exception was thrown' when executing the 'Create plug-in cache' step in the sequence 'Initialize Model Plugins' in the ModelSupport.seq. Here's the kicker: I only see this error when I try to run TestStand through a LabWindows/CVI GUI. I do not see this error when running TestStand from the Sequence Editor or a LabVIEW GUI I am using TS 2012 and CVI 2012. I am rnning the Parallel model. When I look at the Windows Task Manager Performance I do not see any memory issues. I have uninstalled and reinstalled TS and CVI to no avail. I am hoping someone else may have experienced this problem o rhave an idea of what the possible culprit is. I am running out of options.

 

I have attached a screen shot of the Run-Time Error window.

 

Thank you in advance for your help,

Jim

0 Kudos
Message 1 of 15
(6,743 Views)

See the following(Why do I Get an Out of Memory Exception (Error Code -17500; Operation Failed) when Using LabWindows/CVI Built TestStand User Interface with .NET 4.5?):

 

http://digital.ni.com/public.nsf/allkb/0136A53F98D69B7286257AD70069A735?OpenDocument

 

-Doug

0 Kudos
Message 2 of 15
(6,730 Views)
Solution
Accepted by topic author GeekGrok

Doug,

 

Thank you. This appears to have fixed the problem.

 

Thank you,

Jim

0 Kudos
Message 3 of 15
(6,701 Views)

Doug,

 

Would executing this command: 

"cd <Visual Studio Directory>\VC\bin EDITBIN.EXE /STACK:270366,4096 <full Path of TestStand User Interface>" 

 

Would it fix below issue" 

 

Details: Exception of type 'System.OutOfMemoryException' was thrown.

Error Code: -17500; Operation Failed.

Location: Step 'Initialize ControllerAndSocketSynchronizationManager' of sequence 'Test UUTs" in 'BatchModel.seq". Test Socket -1.

 

If not What else can i do to fix it?

 

Thanks,


 

 

0 Kudos
Message 4 of 15
(4,894 Views)

Doug,

 

I've forgot to mention that I'm running TestStand 2014 (32bit) and LabView/CVI 2013.

 

Thanks,

 

0 Kudos
Message 5 of 15
(4,890 Views)

Correction LabWindow/CVI 2013 not LabView/CVI 2013.

0 Kudos
Message 6 of 15
(4,888 Views)

Hi ucf,

 

The error you are seeing is not necessarily attributed to CVI. Are you also calling TestStand from CVI when this error is thrown? This may resolve the issue but was only seen as a problem in CVI 2011. I would also like to point out that those are actually two commands: CD -> to get to the directory and EDITBIN -> to modify the bin directory. 

 

If that does not resolve the issue, you may want to look at your system memory and see if it is spiking during runtime. 

 

In the future, I recommend creating a new thread instead of posting on an old one. You will get more visibility by the community and it won't be overlooked as resolved. 

 

I hope this helps!

JD B.
Applications Engineer
National Instruments
0 Kudos
Message 7 of 15
(4,856 Views)

This link is no longer available: http://digital.ni.com/public.nsf/allkb/0136A53F98D69B7286257AD70069A735?OpenDocument

 

     may have moved, been deleted, or is inaccessible.

 

I'm also encountering "-17000 out of memory" & "-17500 operation failed", could someone re-post the link or shed some light?

 

Error Code -17000 &17500 - 20220808.PNG

0 Kudos
Message 8 of 15
(1,973 Views)

Hi colin.c,

Is your Operator Interface based on either CVI or .NET? If so, what are their versions?

 

Thanks in advance

Felipe Flores
Technical Support Engineer
National Instruments
0 Kudos
Message 9 of 15
(1,929 Views)

It's TestStand 2017 and Labview 2018, so neither CVI nor .NET. Thanks in advance.

TestStand 2017.0.0.184.PNG

0 Kudos
Message 10 of 15
(1,918 Views)