01-11-2005 09:34 AM
Solved! Go to Solution.
01-12-2005 11:40 AM
02-08-2005 01:43 PM
04-19-2005 06:15 PM
04-20-2005 07:51 AM
04-20-2005 04:55 PM
12-12-2008 12:45 AM
12-12-2008 01:12 AM
Hello Antipholus ,
I am using LabVIEW 8.5 and are facing the memory leakage problem in the code developed by us.
The code constitutes a large number of Shared Variables (may be 300 in number). These Variables are residing in different moduled subvi's
I tried solving it by using deallocation function having a thaught that it will deallocate the memory use by the subvi and hence will lead to the better performance of the code.
But the problem of memory leakage is still there althrough we increased the virtual memory.
One more point i want you to know is that the PC on which the code is meant to be executed is having 1GB of RAM.
It may be possible that i didn't used the Request deallocation properly but i read the description and it has been clearly written in the description that this function will be of great concern with the applications like a main VI and a number of Sub VI's.
I placed this function at the end of each subvi and a true constant has been wired to the input flag whenever the user clicks to exit the displayed front panel of any subvi which he has opened from the Main Panel.
We are in uncertanity that what factor is leading to memory leakage.
I also read a document in the discussion forum that if a number of build array function is used in a continuous loop it can cause this problem and the solution in this regard is to replace build array function with replace array subset as the number of indexs will remain same.
We also done this and replaced the build array with the suggested function but the problem still remains.
Can you please suggest any possible solution.
Thanks & Regards,
Samriddh Sarbalhi
12-12-2008 01:20 AM
Hello Robert,
I am using LabVIEW 8.5 and are facing the memory leakage problem in the code developed by us.The code constitutes a large number of Shared Variables (may be 300 in number). These Variables are residing in different moduled subvi's I tried solving it by using deallocation function having a thaught that it will deallocate the memory use by the subvi and hence will lead to the better performance of the code.But the problem of memory leakage is still there althrough we increased the virtual memory.One more point i want you to know is that the PC on which the code is meant to be executed is having 1GB of RAM. It may be possible that i didn't used the Request deallocation properly but i read the description and it has been clearly written in the description that this function will be of great concern with the applications like a main VI and a number of Sub VI's.I placed this function at the end of each subvi and a true constant has been wired to the input flag whenever the user clicks to exit the displayed front panel of any subvi which he has opened from the Main Panel.We are in uncertanity that what factor is leading to memory leakage. I also read a document in the discussion forum that if a number of build array function is used in a continuous loop it can cause this problem and the solution in this regard is to replace build array function with replace array subset as the number of indexs will remain same.We also done this and replaced the build array with the suggested function but the problem still remains. Can you please suggest any possible solution? Thanks & Regards,Samriddh Sarbalhi