02-13-2014 02:43 AM
How can I remove not enough memory message while running labview code?
02-13-2014 02:53 AM
Simple solution, move to 64 bit OS, buy 64 bit LV, buy 1TB of RAM and run the code unmodified.
Alternative:
Remove memory hogs and leaks from the code.
For the alternative, you should either learn the important stuff self-paced or attend approrpiate classes like the LV performance class.
Norbert
02-13-2014 07:28 AM
@MKsarith wrote:
How can I remove not enough memory message while running labview code?
Make more memory effencient code. This is usually an issue with arrays. There are tricks to reduce the memory usage. If you post your current code, I'm sure we could show you some of these tricks.
02-13-2014 08:16 AM
You can find some methods to help you in the LabVIEW help. You may also want to read this white paper. It is dated and does not mention the In Place Element structure or Data Value Reference, but it does have sample code for some of the more important techniques.
02-13-2014 09:44 AM
The most common reason (which is mentioned above in different ways) is arrays which builds indefinatly. Can you post some code showing the problem?
/Y
02-14-2014 10:41 PM
02-15-2014 12:17 AM
@MKsarith wrote:
Here is my panel from which I am getting the message,
If you are posting a big hierarchy full of VIs, please tell us what the name of the toplevel VI is. Thanks!
02-17-2014 08:23 AM
There are a bunch of subVIs still missing. Look like drivers of some sort.
From very quickly looking at your code, I would recommend NOT using an array for your state machine. Use a Queue instead. A queue is a set place in memory and therefore a much more efficient. Each time you delete from an array, new memory allocation must happen. Not so when you dequeue an element.
I haven't dug any more to find anything glaring as of yet.