Use the Profile Buffer Allocations window to identify and analyze buffer allocations in a LabVIEW application.

Identifying Large Buffers

To identify the large buffers that an application allocates, click Start to start profiling, run a VI or multiple VIs that you want to profile, and click Stop to end the profiling session. The Profile Data table displays the largest buffer allocations. The number of buffer allocations in the table is no greater than the Maximum buffers to display.

Analyzing Buffer Allocations

To analyze the cause of a buffer allocation, double-click a row in the Profile Data table to open the block diagram of the VI that causes the buffer allocation. LabVIEW highlights the node, wire, or tunnel which causes the buffer allocation.

Saving and Loading Profiles

To save the profiles for analysis, select File»Save Profile to save the profile data to a binary file on the disk. To load the saved profile back into this window, select File»Load Profile. You can also export the profile data to a CSV file by selecting File»Export Table. You can load the CSV file in either Microsoft Excel or Notepad.