LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

smt averaged spectrum don't free memory

Hi,
 
I'm developing a cvi 8.0 dll with smt 2.1 (NI spectral measurement toolkit), called from a VC++ task.
 
after a long time of utilization my task have windows error "not enough memory".
 
analizing memory occupation of task in run-time, i see that the "smtaveragedpowerspectrum" function use new memory when called with parameter restart = 1 and don't free the memory allocated before (also when i destroy the smt handle the memory don't decrease).
 
it's a know bug? it's possible to resolve it?
 
Regards
Marco Agrusa
Capgemini Italia
 
0 Kudos
Message 1 of 6
(3,721 Views)
Hi magru,

Are you still encountering this memory leak? If so, I would like to reproduce it on my end so can you provide me with small example that I can look at?

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 6
(3,539 Views)

Hi jonathan, thank you for interesting

i enclose the italian forum reply (i translate with my poor english)

> dear marco,

> you are right.

> there is a problem with handle management in actual version of CVI SMT.

> "averaged spectrum" don't destroy the handles.

> it's a know problem for national R&D that will strive in resolving it.

> the identification code is 4098SMAE. You can use in future for search the bugfixes.

The link for original post in italian forum is http://forums.ni.com/ni/board/message?board.id=7170&message.id=436&query.id=22173#M436

The code is enough for you?

Best Regards

Marco Agrusa

0 Kudos
Message 3 of 6
(3,518 Views)
Hi magru,

Thanks for letting me know the bug ID as that helps alot. I looked at the status of the bug ID and it looks like we are currently working on that issue.  Just remember to keep that ID so you can continually check the status.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 4 of 6
(3,510 Views)

Thanks.

On NI site there is a new version of SMT (2.3),

you know if the SMT 2.3 solve the problem?

In bugfixes i found nothing about this.

Best Regards

Marco

0 Kudos
Message 5 of 6
(3,491 Views)
Hi Marco,

No, version 2.3 doesn't have a fix in it.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 6 of 6
(3,479 Views)