API Reference
Item | Returns | Description |
---|---|---|
|
| Returns a set of features currently active in the profiler: Bit flags in the
|
| Collect memory snapshot and save it to the disk. This method forces full garbage collection. | |
| [Internal use only] | |
| Forces full garbage collection. | |
| Enable/disable collecting memory allocation data. Does nothing if collecting allocation data is disabled in the profiler. To check whether the collecting is enabled, use | |
| Detach the profiler from the profiled process. Does nothing if detaching is disabled in the profiler. To check whether the detaching is enabled, use |
Item | Returns | Description |
---|---|---|
| Initializes the profiler. This method is a simplified way to call the | |
|
| (We recommend that you use |
| Gets a memory snapshot using the default profiling configuration. | |
|
| Gets a memory snapshot using the specified profiling |
| Attaches dotMemory to the current process using the default profiling configuration. | |
| Attaches dotMemory to the current process using the specified profiling | |
|
| Detaches dotMemory from the current process. Returns a string with the path to the saved snapshot (dotMemory workspace). |
|
| Gets a memory snapshot. |
Item | Returns | Description |
---|---|---|
|
| Specifies TRACE log level. |
|
| Specifies VERBOSE log level. |
|
| Specifies the path to the log file. |
|
| Specifies the path to the workspace file (snapshots storage). |
|
| Specifies the path to the workspace directory (filename will be auto-generated). |
|
| Specifies whether to open the generated workspace in JetBrains dotMemory. |
|
| Appends an arbitrary argument to the command line as is (without any quoting, and so on). |