Environment variable for presetting MemoryScape values
When you start TotalView, it looks for the TVHEAP_ARGS environment variable. If it exists, TotalView reads values placed in it. If one of these values changes a MemoryScape default value, MemoryScape uses this value as the default.
If you select a <Default> button in the GUI or a reset option in the CLI, MemoryScape resets the value to the one you set here, rather than to its default.
TVHEAP_ARGS Values
The values that you can enter into this variable are as follows:
display_a llocations_on_exit=boolean
Tells MemoryScape to dump the allocation table when your program exits. If your program ends because it received a signal, MemoryScape might not be able to dump this table.
MemoryScape provides an integral multiple of the alignment rather than the even multiple described in the Sun memalign documentation. By including this value, you are telling MemoryScape to use the Sun alignment definition. However, your results might be inconsistent if you do this.
output_fd=int output_file=pathname
Sends output from MemoryScape to the file descriptor or file that you name.