LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview memory problem

I have an application generated by IOTech for using their analog I/O Card with LABVIEW 7.1. When I start the application. My task manager shows Labview.exe size about 30000K. Then after it goes on increasing with no final limit. This causes my PC to slow down and some time to crash situation. What is the reason for such huge memory increase, I dont understand. The file is attached here with with a hope to get solution.
 
Thanks.
0 Kudos
Message 1 of 14
(3,977 Views)
What file are you using?  I need a little help here because there are only 30 to choose from.
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 14
(3,958 Views)

Its the DAQBoard1000Highstress.vi. The file is in DAQIO Labview Support Highstress folder.

 

0 Kudos
Message 3 of 14
(3,926 Views)

When I unzipped the file I received multiple errors about the lenth of the file names.  I don't see anything from the code that did open that is allocating large chunks of memory.  There is a missing DLL that could be dooing it. 

How long does it take before it crashes?  What is the rate that memory is being consumed (Meg / Hour)?  How much memory do you have in the PC?

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 4 of 14
(3,910 Views)
My PC have 512 MB RAM and 40 GB HDD. It takes about 20-30 KB increase per second or so. When I start LABVIEW and the application, it gives about 33 MB consumption of memory.
0 Kudos
Message 5 of 14
(3,898 Views)

That is chowing down 1.8 Meg a minute so that would be a problem.  You options are:

Add more memory to a point where you can complete a test

Set break points in the program to identify what step or steps are allocating the memory.  Once identified you can make a decision to limit total memory consumed (use delete array at certain size) or FIFO data to disk to to prevent PC from crashing.

Hope this help,

 

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 6 of 14
(3,894 Views)
What do you mean by add more memory? Do you mean to say more memory to LABVIEW. How can I? by defining extra array? You can see in the vi. As such I am not doing any thing except to display the I/Os on screen.
0 Kudos
Message 7 of 14
(3,890 Views)
I would check IOtech's website to see if this is a problem with their driver or LabVIEW API. If my memory serves, I have heard another user have a problem with a memory leak in their IOtech VIs. If it's inside the DLL that the IOtech VIs call, then there's nothing anyone here can do about it. IOtech may have discovered this problem and released a patch for it. So check their knowledgebases for more information.
 
Let us know what you find! Hope this helps...
Jarrod S.
National Instruments
0 Kudos
Message 8 of 14
(3,880 Views)
Add more memory means install more physical memory in the PC.  Adding RAM will increase the runtime but still will crash over time.  The difference is that in your base 512M you have the OS loaded into RAM using around 300 Meg before you laod any program.  The reality is sometimes it is easier to throw a $50 RAM module in to the PC then spending days trying to fix it.
 
 
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 9 of 14
(3,867 Views)

I know that but the application is product tester and it slows down every second so after two/three hours it slow down to the extend that we have to reboot the machine. Some time LABVIEW refuse to quit and we have to end the task force fully.

 

 

0 Kudos
Message 10 of 14
(3,840 Views)