Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
At 10:48 AM 12/1/94 +0100, J. P. Poindessault wrote:
>Q1- where can I found some documentation about LV memeory management ?
There is an application note called something like "Minimizing LabVIEW
Memory Usage", I think it's # 020. Check out the NI ftp site. Monnie
Anderson wrote an article on the same subject in LTR vol 2, #1.
>Q2- what are the essential rules to minimize memory consumption in LV3 for
>the Mac?
The same as the other plaforms except that the DAQ buffers occupy
application memory space.
>Q3- what can we think about the principles of modularity and dataflow
>sequencing when we are faced to memory problems ?
> Is it better to use Sequence structures and put all the stuff in the same
>VI (no modularity, no dataflow sequencing) ?
No. Modular is better. If a subVIs panel is not open then the buffers are
not copied for the subVI call.
>Q4- Using GLOBALS could solve memory problems ?
NO! NO! They'll worsen it. Each instance of a global is another copy of the
buffer.
>Q5- What is the memory allocation strategy for GOBALS and LOCALS ?
Use them as little as possible.
Brad Hedstrom, Ph.D. Victoria, British Columbia
Advanced Measurements Inc. (NI Alliance Member) Canada