--- title: "Configure Function Memory" url: https://docs.catalyst.zoho.com/en/cli/v1/working-with-functions/configure-function-memory/ description: "Catalyst CLI enables you to set up the functions component even after the project is initialized, add multiple functions in your project, configure their memory, test functions in a Node shell, and delete them." last_updated: 2026-08-28T06:26:16Z service: All Services type: general --- # Configure Function Memory ### Configure Command Catalyst enables you to configure the memory for each of your functions. This memory will be allocated when the function is executed. You can choose a memory between 128 MB and 512 MB for any function. The default memory assigned to a function is 256 MB. That is, if you don't configure the memory, or if you had created a function before this feature was made available, the memory would be set to 256 MB automatically. > **Note:** The CPU is allocated automatically based on the memory you configure for your function. You won't be able to view or configure this value. You can modify this value for any of your existing functions as per your requirements in the following way: 1. Execute the following command from your function's project directory. ```sh catalyst functions:config ``` The CLI will list all the functions you have created in your project, along with information of their current memory allocation. 2. Select one of the functions to configure, and press **Enter** . ![Configure Function Memory in CLI](https://catalyst-docs-development.zohostratus.in/images/cli/working-with-functions/catalyst_cli_functions_config_memory_1.webp) 3. Select the memory to allocate to the function from the available options, and press **Enter** . ![Configure Function Memory in CLI](https://catalyst-docs-development.zohostratus.in/images/cli/working-with-functions/catalyst_cli_functions_config_memory_2.webp) The memory configuration for the function will be updated. ![Configure Function Memory in CLI](https://catalyst-docs-development.zohostratus.in/images/cli/working-with-functions/catalyst_cli_functions_config_memory_3.webp) You can also directly configure a function's memory by specifying the function's name or ID along with the command like: ```sh catalyst functions:config[function_name_or_id] ``` For example: ```sh catalyst functions:config Generate_Invoice ``` The CLI will then ask you to select a memory configuration in the same manner. ### Configure Function Memory Options You can also directly specify the memory you want allocated for a specific function using the ` -\\-memory <value> ` option for the `catalyst functions:config` command, followed by the function's name or ID. This can be done in the following way: ```sh catalyst functions:config [--memory <value>] [function_name_or_id] ``` For example, if you want to allocate 128 MB memory for a function named _MailOrder_ , then execute the following command: ```sh catalyst functions:config --memory 128MB MailOrder ``` The CLI will ask you for confirmation. Enter **Y** and press **Enter** . ![](https://catalyst-docs-development.zohostratus.in/images/cli/working-with-functions/catalyst_cli_functions_config_memory_options.webp) The memory configuration for the function will be updated.