Updated on 2025-07-15 GMT+08:00

User-defined Functions

udf_memory_limit

Parameter description: Specifies the maximum physical memory that can be used when CNs and DNs execute UDFs. This parameter does not take effect in the current version. Use FencedUDFMemoryLimit and UDFWorkerMemHardLimit to control virtual memory used by fenced udf worker.

This is a POSTMASTER parameter. Set it based on instructions in Table 1.

Value range: an integer ranging from 200 x 1024 to 2147483647. The unit is KB.

Default value: 200 MB

FencedUDFMemoryLimit

Parameter description: Specifies the virtual memory used by each fenced udf worker process.

This is a USERSET parameter. Set it based on instructions in Table 1.

Setting suggestions: Contact an administrator.

Value range: an integer ranging from 0 KB to 2147483647 KB. The unit can also be MB or GB. 0 indicates that the memory is not limited.

Default value: 0

UDFWorkerMemHardLimit

Parameter description: Specifies the maximum value of fencedUDFMemoryLimit.

This is a POSTMASTER parameter. Set it based on instructions in Table 1.

Setting suggestions: Contact an administrator.

Value range: an integer ranging from 0 KB to 2147483647 KB. The unit can also be MB or GB.

Default value: 1 GB