# setMemLimitOfTaskGroupResult {#setmemlimitoftaskgroupresult}

## Syntax {#syntax}

`setMemLimitOfTaskGroupResult(memLimit)`

## Arguments {#arguments}

**memLimit** is a numeric scalar, indicating the memory limit \(in GB\).

## Details {#details}

Set the memory limit of a task group sent from the current node online. This command can only be executed by an administrator on a data node or compute node.

**Note:**

The modified configuration will expire after the cluster is rebooted. To make it permanent, please specify the configuration parameter *memLimitOfTaskGroupResult*.

Related function: [getMemLimitOfTaskGroupResult](../g/getMemLimitOfTaskGroupResult.md)

