# STEAMPIPE_MEMORY_MAX_MB

# STEAMPIPE_MEMORY_MAX_MB

Set a soft memory limit for the `steampipe` process.  Steampipe sets `GOMEMLIMIT` for the `steampipe` process to the specified value.  The Go runtime does not guarantee that the memory usage will not exceed the limit, but rather uses it as a target to optimize garbage collection.

Set the `STEAMPIPE_MEMORY_MAX_MB` to `0` disable the soft memory limit.

## Usage 

Set the memory soft limit to 2GB:
```bash
export STEAMPIPE_MEMORY_MAX_MB=2048
```

Disable the memory soft limit:
```bash
export STEAMPIPE_MEMORY_MAX_MB=0
```