05-07-2008 08:07 AM
05-07-2008 08:50 AM
05-07-2008 09:00 AM
05-07-2008 09:15 AM
vimalt wrote:
I am facing problem of deallocating memory. If before running the project, used memory is X MB, then after running, the used memory should come back around X MB. But I can see an additional 50 MB added to used memory. This is shows that VI(s) are holding memory even after running.
12-12-2008 12:39 AM
hello altenbach ,
As you said in your reply that it hardly matters if the memory figure does not reach to its previous figure and it is not a big problem to think upon.
But as far as deallocation of the VI is is concerned, i am facing the problem of memory performance in terms of memory leakage in the code developed by us.
A large numbers of shared variables are used and If deallocated a sub vi having shared variables does it actually deallocates the memory acquired by it.
We are having this a big problem in front of us as nothing of our remedies had actually cured us from the problem of mamory leakage and we are constantly facing this.
I had also read a document in the discussion forum as if a bundle array function is used in a continuous loop it could be the cause of the problem leading to memory leakage and the possible solution is to replace build array with replace array subset. We had used build arrays and replaced it as per the suggestion.
We also done this but the problem still remains.
We had approached NI India for the solution.
How this Memory Leakage happens and what is this memory leakage. We had also increased the virtual memory and paging memory.
Please suggest any possible solution.
Thanks & Regards,
Samriddh Sarbalhi
12-12-2008 12:42 AM
hello vimalt ,
As altenbatch said in his reply that it hardly matters if the memory figure does not reach to its previous figure and it is not a big problem to think upon.
But as far as deallocation of the VI is is concerned, i am facing the problem of memory performance in terms of memory leakage in the code developed by us.
A large numbers of shared variables are used and If deallocated a sub vi having shared variables does it actually deallocates the memory acquired by it.
We are having this a big problem in front of us as nothing of our remedies had actually cured us from the problem of mamory leakage and we are constantly facing this.
I had also read a document in the discussion forum as if a bundle array function is used in a continuous loop it could be the cause of the problem leading to memory leakage and the possible solution is to replace build array with replace array subset. We had used build arrays and replaced it as per the suggestion.
We also done this but the problem still remains.
We had approached NI India for the solution.
How this Memory Leakage happens and what is this memory leakage. We had also increased the virtual memory and paging memory.
Please suggest any possible solution as you had been in this problem in the past and how you tackled it.
Thanks & Regards,
Samriddh Sarbalhi