From d61d8828a7db9acfd0f63b15a79d564185b01d36 Mon Sep 17 00:00:00 2001 From: Petrichor <31833513+vinlee19@users.noreply.github.com> Date: Fri, 12 Jan 2024 19:20:48 +0800 Subject: [PATCH] modify_jvm_max_heap_size --- docs/en/docs/ecosystem/udf/java-user-defined-function.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/docs/ecosystem/udf/java-user-defined-function.md b/docs/en/docs/ecosystem/udf/java-user-defined-function.md index ead333c0080844..41f1539ad8cc07 100644 --- a/docs/en/docs/ecosystem/udf/java-user-defined-function.md +++ b/docs/en/docs/ecosystem/udf/java-user-defined-function.md @@ -342,7 +342,7 @@ Examples of Java UDF are provided in the `samples/doris-demo/java-udf-demo/` dir ## Instructions 1. Complex data types (HLL, bitmap) are not supported. -2. Currently, users are allowed to specify the maximum heap size of the JVM themselves. The configuration item is jvm_ max_ heap_ size. The configuration item is in the global configuration file 'be.conf' under the installation directory of the BE. The default value is 512M. If data aggregation is required, it is recommended to increase the value to improve performance and reduce the risk of memory overflow. +2. Currently, users are allowed to specify the maximum heap size of the JVM themselves. The configuration item is jvm_ max_ heap_ size. The configuration item is in the global configuration file 'be.conf' under the installation directory of the BE. The default value is 1024M. If data aggregation is required, it is recommended to increase the value to improve performance and reduce the risk of memory overflow. 3. The udf of char type needs to use the String type when creating a function. 4. Due to the problem that the jvm loads classes with the same name, do not use multiple classes with the same name as udf implementations at the same time. If you want to update the udf of a class with the same name, you need to restart be to reload the classpath.