# setMemLimitOfAllTempResults {#setmemlimitofalltempresults}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`setMemLimitOfAllTempResults(memLimit)`

## Arguments {#arguments}

**memLimit** is a positive number smaller than configured *maxMemSize*.

## Details {#details}

Modify *memLimitOfAllTempResults*online. This command can only be executed by an administrator on the data node or compute node.

**Note:** The modified configuration is only valid for the current node, and will expire after the system restarts. To make it permanent, please change the configuration parameter *memLimitOfAllTempResults.*

## Examples {#examples}

``` {#pre_ivg_24k_zbc}
`setMemLimitOfAllTempResults(3.0)`
```

