TotalView Reference Guide : Part I: CLI Commands : TotalView Variables : TV::MEMDEBUG:: Namespace
TV::MEMDEBUG:: Namespace
TV::MEMDEBUG::default_snippet_extent
Defines the number of code lines above and below point of allocation that the Memory Debugger saves when it is adding code snippets to saved output.
You can also set this value using a Memory Debugger preference.
Permitted Values: A positive integer number
Default: 5
TV::MEMDEBUG::do_not_apply_hia_defaults
If set to true, tells the Memory Debugger that it should use settings it finds in a default .hiarc file. Otherwise, the Memory Debuggers sets all options to off.
You can also set this value using a Memory Debugger preference.
Permitted Values: true or false
Default: false
TV::MEMDEBUG::hia_allow_ibm_poe
Tells the Memory Debugger if you can enable memory debugging on poe. As the default value is false, set this variable if you want memory debugging to be on by default. This variable is hardly ever used.
Permitted Values: true or false
Default: false
TV::MEMDEBUG::ignore_snippets
When true, the Memory Debugger ignores code snippets that it saved and instead locates the information from your program's files.
You can also set this value using Memory Debugger preference.
Permitted Values: true or false
Default: false
TV::MEMDEBUG::leak_check_interior_pointers
When true, the Memory Debugger considers a block as being referenced if a pointer is pointing anywhere within the block instead of just at the block’s starting location. In most programs, the code should be keeping track of the block’s boundary. However, if your C++ program is using multiple inheritance, you may be pointing into the middle of the block without knowing it.
Permitted Values: true or false
Default: true
TV::MEMDEBUG::leak_max_cache
Sets the size of the Memory Debugger's cache. We urge you not to change this value unless your program is exceptionally large or are asked to make the change by someone on the TotalView support team.
Permitted Values: A positive integer number
Default: 4194304
TV::MEMDEBUG::leak_max_chunk
Tells the Memory Debugger how much memory it should obtain when it obtains memory from your operating system. You shouldn't change this value unless asked to by someone on the TotalView support team.
Permitted Values: A positive integer number
Default: 4194304
TV::MEMDEBUG::shared_data_­filters
Names a filter definition file that is not located in the default directory. (The default directory is the lib subdirectory within the TotalView installation directory.) The contents of this variable are read when TotalView begins executing. Consequently, TotalView ignores any changes you make during the debugging session. The following example names the directory in which the filter file resides. This example assumes that filter has the default name, which is tv_filters.tvd.
dset TV::MEMDEBUG::shared_data_filters {/home/projects/filters/}
Use brackets so that Tcl doesn’t interpret the “/” as a mathematical operator. If you wish to use a specific file, just use its name in this command. For example:
dset TV::MEMDEBUG::shared_data_filters \
      {/home/projects/filters/filter.tvd}
The file must have a .tvd extension.
Permitted Values: A string naming the path to the filter directory.
Default: none