RTI Connext C# API  6.1.0
HeapMonitor Class Reference

Utility that tracks native heap memory usage by RTI Connext DDS More...

Inherits IDisposable.

Classes

class  Snapshot
 Contains information about memory usage More...
 

Public Member Functions

void Dispose ()
 Disables heap memory tracking. More...
 
Snapshot TakeSnapshot ()
 Takes a snapshot More...
 
Snapshot TakeSnapshot (string filename, bool printDetails)
 Takes a snapshot and saves the details into a file More...
 
void Pause ()
 Pauses heap memory tracking More...
 
void Resume ()
 Resumes tracking after Pause. More...
 

Static Public Member Functions

static HeapMonitor Enable ()
 Enables heap memory tracking. Heap monitoring must be explicitly enabled before any other RTI Connext DDS operation. More...
 

Properties

static HeapMonitor Instance [get]
 Accesses the singleton that allows taking snapshots. Enable must be called before. More...
 

Detailed Description

Utility that tracks native heap memory usage by RTI Connext DDS

Member Function Documentation

◆ Dispose()

void Dispose ( )

Disables heap memory tracking.

The full documentation is available in the C API: NDDS_Utility_disable_heap_monitoring

◆ Enable()

static HeapMonitor Enable ( )
static

Enables heap memory tracking. Heap monitoring must be explicitly enabled before any other RTI Connext DDS operation.

The full documentation is available in the C API: NDDS_Utility_enable_heap_monitoring

◆ Pause()

void Pause ( )

Pauses heap memory tracking

The full documentation is available in the C API: NDDS_Utility_pause_heap_monitoring

◆ Resume()

void Resume ( )

Resumes tracking after Pause.

The full documentation is available in the C API: NDDS_Utility_resume_heap_monitoring

◆ TakeSnapshot() [1/2]

Snapshot TakeSnapshot ( )

Takes a snapshot

Returns
An object with information about heap usage

The full documentation is available in the C API: NDDS_Utility_take_heap_snapshot

◆ TakeSnapshot() [2/2]

Snapshot TakeSnapshot ( string  filename,
bool  printDetails 
)

Takes a snapshot and saves the details into a file

Returns
An object with information about heap usage

The full documentation is available in the C API: NDDS_Utility_take_heap_snapshot

Property Documentation

◆ Instance

HeapMonitor Instance
staticget

Accesses the singleton that allows taking snapshots. Enable must be called before.