STEAMPIPE_PLUGIN_MEMORY_MAX_MB

Set a default memory soft limit for each plugin process. Steampipe sets GOMEMLIMIT for each plugin 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.

Note that each plugin can have its own memory_max_mb set in a plugin definition, and that value would override this default setting.

Set the STEAMPIPE_PLUGIN_MEMORY_MAX_MB to 0 disable the default soft memory limit.

Usage

Set the default plugin memory soft limit to 2GB:

export STEAMPIPE_PLUGIN_MEMORY_MAX_MB=2048

Disable the default plugin memory soft limit:

export STEAMPIPE_PLUGIN_MEMORY_MAX_MB=0