Skip to content

Commit 814917b

Browse files
author
Christopher Frost
committed
Document excluded JAVA_OPTS memory configurations
Any environment variables or config in the 'config/java_opts.yml' file that attempts to set a memory option will cause deployment to fail. This is not documented and this commit adds the relavent documentation. [#79949526]
1 parent badd4bb commit 814917b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/framework-java_opts.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ The framework can be configured by creating or modifying the [`config/java_opts.
2323
| Name | Description
2424
| ---- | -----------
2525
| `from_environment` | Whether to append the value of the `JAVA_OPTS` environment variable to the collection of Java options
26-
| `java_opts` | The Java options to use when running the application. All values are used without modification when invoking the JVM. The options are specified as a single YAML scalar in plain style or enclosed in single or double quotes.
26+
| `java_opts` | The Java options to use when running the application. All values are used without modification when invoking the JVM. The options are specified as a single YAML scalar in plain style or enclosed in single or double quotes.
2727

28+
Any `JAVA_OPTS` from either the config file or environment variables that configure memory options will cause deployment to fail as they're not allowed. Memory options are configured by the buildpack and may not be modified.
2829

2930
## Example
3031
```yaml

0 commit comments

Comments
 (0)