I am having some truble with saving data. I am getting Error 2 File Open+.vi, LabVIEW Memory Full. Please check attached image.
Can some one guide me why I am getting such errror,
Windows 7 64bit
Labview 32 Bit
Thanks AND LOOKING FORWARD TO YOUR VALUABLE REPLY:
all I can say from the information you provided is: LabVIEW complains about lack of memory!
Did you check the memory consumption of your LabVIEW task?
If you want to have more detailed analysis of the problem you should attach your VI(s) and maybe also the needed external data files!
I think you have a very big operation going on in your vi. May be due to large number of elements in the array or anything else.
If you can post your code then may be we can provide you better solution.
Thank you all for your reply.
Yes we are having relatively large data processing going on. What we do is, we are opening a txt file write data and close. Reason to do that is, if user want to analyse data in between he can open file and check if measurement going well.
Today only we got that error after running 16 hours experiment. Normally when .Exe runs it takes up to 500 MB on RAM but when we go error at that time it was 860 MB on RAM. Do you think that might be an issue.
Normally when .Exe runs it takes up to 500 MB on RAM but when we go error at that time it was 860 MB on RAM. Do you think that might be an issue.
Atleast it's a symptom: using a lot of memory might lead to other problems like being unable to open/edit files…
Which part of your code does need this amount of memory? Why does memory consumption rise to 860MB when it usually only needs 500MB?
(You should always call a Close function when there is an Open operation.)
As you can see in VI, we are closing file with file reference. Can you suggest me how can I perform memory performance function during running EXE.
Hello All, Thanks for your input.
I have wrote message to moderator to remove my attachment. Anyway Memory full issue solved. it was due to VI is creating continuous new Refnum. Which leads to memory increate over time.