# Configure Wasm

Use the following global variables to configure the Code Engine for Wasm extensibility:

| Variable Name                   | Description                                                                                                                                                                |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `enable_wasm`                   | Specifies if a user can create or call Wasm UDFs/TVFs.                                                                                                                     |
| `wasm_max_compiled_module_size` | Specifies the maximum size (in bytes) that a compiled Wasm module can use.                                                                                                 |
| `wasm_max_linear_memory_size`   | Specifies the maximum linear memory (in bytes) that an individual Wasm module can use. This will further constrain UDF/TVF-specific`GROW TO`values.                        |
| `wasm_max_raw_module_size`      | Specifies the maximum size (in bytes) of Wasm modules that may be loaded. The size is defined as the size of raw, uncompiled data passed in the`CREATE FUNCTION`statement. |

Refer to [Wasm Sync Variables](https://docs.singlestore.com/db/v9.0/reference/configuration-reference/engine-variables/list-of-engine-variables.md) for more information, including default values.

***

Modified at: July 16, 2026

Source: [/db/v9.0/reference/code-engine-powered-by-wasm/configure-wasm/](https://docs.singlestore.com/db/v9.0/reference/code-engine-powered-by-wasm/configure-wasm/)

(An index of the documentation is available at /llms.txt)
