We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c61076 commit 8518c52Copy full SHA for 8518c52
sample/manifest.yml
@@ -5,12 +5,17 @@ applications:
5
#
6
- name: logging-sample-app
7
instances: 1
8
- memory: 592M
9
- disk_quota: 140M
+ buildpack: sap_java_buildpack
+ memory: 256M
10
+ disk_quota: 256M
11
path: target/logging-sample-app-3.7.0.war
12
env:
13
RANDOM_SLEEP: true
14
# Set LOG_*: true to activate logging of respective field
15
LOG_SENSITIVE_CONNECTION_DATA: false
16
LOG_REMOTE_USER: false
17
LOG_REFERER: false
18
+ # Some defaults in the SAP Java buildpack much higher than what this app needs.
19
+ # The values below have been devised empirically
20
+ JAVA_OPTS: '-XX:ReservedCodeCacheSize=40M -XX:MaxMetaspaceSize=28M -Xss256K'
21
+ # Default: '-XX:ReservedCodeCacheSize=240M -XX:MaxMetaspaceSize=141152K -Xss1M'
0 commit comments