## Resources
https://github.com/bloomberg/memray
## Installation
```bash
pip3 install memray
```
## Usage
```bash
memray run my_script.py
memray flamegraph memray-my_script.py*.bin
open memray-flamegraph-my_script.py*.html
```
### Useful hackable script for cleanup and utility
```bash
memray run testy.py && \
memray flamegraph memray-testy.py* && \
/bin/rm memray-testy.py*.bin && \
open memray-flamegraph-testy.py*.html
```
### Live view of code that runs continuously
```bash
memray run --live my_script.py
```