Skip to content

Commit 3b280cf

Browse files
committed
Updates to JAVA_OPTS
1 parent c62e997 commit 3b280cf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/azure-functions/functions-app-settings.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ The value above sets a shared memory size of ~256 MB.
285285

286286
Requires that [`FUNCTIONS_WORKER_SHARED_MEMORY_DATA_TRANSFER_ENABLED`](#functions_worker_shared_memory_data_transfer_enabled) be set to `1`.
287287

288-
## ENABLE\_ENABLE\_ORYX\_BUILD
288+
## ENABLE\_ORYX\_BUILD
289289

290290
Indicates whether the [Oryx build system](https://github.com/microsoft/Oryx) is used during deployment. `ENABLE_ORYX_BUILD` must be set to `true` when doing remote build deployments to Linux. For more information, see [Remote build on Linux](functions-deployment-technologies.md#remote-build-on-linux).
291291

@@ -378,7 +378,11 @@ With this setting enabled, you can use the [DOCKER_SHM_SIZE](#docker_shm_size) s
378378

379379
## JAVA_OPTS
380380

381-
Used to customize the Java virtual machine (JVM) used to run your Java functions. In the Consumption plan, you must also add the [`WEBSITE_USE_PLACEHOLDER`](#website_use_placeholder) setting with a value of `0`, which can impact cold start. For more information, see [Customize JVM](functions-reference-java.md#customize-jvm).
381+
Used to customize the Java virtual machine (JVM) used to run your Java functions when running on a [Premium plan](./functions-premium-plan.md) or [Dedicated plan](./dedicated-plan.md). When running on a Consumption plan, instead use `languageWorkers__java__arguments`. For more information, see [Customize JVM](functions-reference-java.md#customize-jvm).
382+
383+
## languageWorkers__java__arguments
384+
385+
Used to customize the Java virtual machine (JVM) used to run your Java functions when running on a [Consumption plan](./functions-premium-plan.md). For a Premium or Dedicated plan, instead use `JAVA_OPTS`. For more information, see [Customize JVM](functions-reference-java.md#customize-jvm).
382386

383387
## MDMaxBackgroundUpgradePeriod
384388

0 commit comments

Comments
 (0)