ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview IMAQ Particle Filter has a memory Leak

Open the task manager in windows xp. Run the attached program. Select the Labview.exe item and closely watch the memory it uses. It should be relatvively stable. Now turn on the particle filter. The memory used grows indefinitely. Turn the particle filtering back off and the memory stops increasing. The Imaq Particle Filter 2 has a memory leak.....
0 Kudos
Message 1 of 7
(4,480 Views)
I used your VI to reproduce it. But I can not see a memory leak or something like that. I tested it on windows 2k and window xp. You can find some screenshots attached. I have installed LabVIEW 7.1 and Vision Development Module 7.1.
Download All
0 Kudos
Message 2 of 7
(4,479 Views)
I like your mod showing the iterations and showing the screen shots of Task Manager. I've done the same on my system and it still shows the leak....Is there a vision development module 7.1? I thought 7.0 is the latest?
0 Kudos
Message 3 of 7
(4,479 Views)
Did you test it already with an non conneted image destination input at the filter function? Did you test it with a own buffer (imaq create) connected to the image destination input?
VDM 7.1 is the latest. You can find the release notes at (http://digital.ni.com/manuals.nsf/websearch/F66807E35922617B86256EE500715E9A?OpenDocument&node=132100_US). There are new functions like classification, 2D-Barcode, OCR etc.
0 Kudos
Message 4 of 7
(4,479 Views)
I'm Having same problems. My solution was to revert back to Particle Filter 1 (from older LV). I'm using LV 7.1.1 Vision.

The LV profiler seem not to find this memory leak.

How come NI have such unnessecary bugs?

Roger
0 Kudos
Message 5 of 7
(4,294 Views)
Roger,

What version of Vision (not your LabVIEW version, but the version of the Vision toolkit itself)  are you using? I believe this issue has been addressed in the latest version.

Thanks,
Kevin C.
National Instruments
Vision Software
0 Kudos
Message 6 of 7
(4,215 Views)
Kevin,

Thanks for the reply. I went back to the previous particle filter, because the particle filter 2 seem to be slightly too "beta" for my application. Right now I am using LV 7.1.1. with Vision 7.1.1.

Regards

Roger Isaksson, Damill AB

0 Kudos
Message 7 of 7
(4,189 Views)