09-09-2011 10:36 PM
How can i know how much memory taken for my program.
such for while loop takes how much memory etc.....
Solved! Go to Solution.
09-09-2011 11:42 PM
Typically, the memory use of structures is irrelevant compared to the memory use of all your data structures.
Of course you can look at "vi properties...memory use" before and after placing a loop to see the difference, but that does not seem interesting. You can see the code size and the data size.
What are you actually worried about? Are you running out of memory during execution?
You can minimize memory use by eliminating extra data copes in memory. Use the "show buffer allocation" tool to determine where data copies are made. Avoid excessive use of local variables, etc.
09-11-2011 02:18 AM
How to see the Code size and data size .
And you mentiones that "Use the "show buffer allocation" tool to determine where data copies are made"
How to check this I mean how to proceed for "show buffer allocation"
09-11-2011 12:19 PM
For code size and memory usage go File>>VI Properties>>Memory Usage. And for buffer allocation read this.