memtrace-ui 0.5.2

A GUI tool for profiling heap memory consumption
# memtrace-ui


## MemTrace UI

A GUI Rust-based tool for visualizing heap memory consumption inspired by [heaptrack](https://github.com/KDE/heaptrack). MemTrace supports heaptrack trace files, so you can read the samples built on Linux

The tool is using the [egui](https://github.com/emilk/egui) crate for building UI

> ℹ️ **Info:** So far, the tool supports Linux and MacOS.

> ⚠️ **Warning:** At the moment, this tool requires downloading a dynamic library to function. The library is open source and can be found [here]https://github.com/blkmlk/memtrace-lib.

### Supported features:

### 1. Overview:
![overview](overview.png)

### 2. TopDown tree with source code:
![topdown](topdown.png)

### 3. Flamegraph:
![flamegraph](flamegraph.png)

### Installation

```bash
cargo install memtrace-ui
```

### Usage
> ℹ️ **Info:** Make sure your app is built in debug mode
```bash
memtrace-ui <your_program>
```

Read an existing trace file
```bash
memtrace-ui -o <your_trace_file>
```

License: MIT