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.
2 parents 4101459 + ec8b342 commit 4aa9584Copy full SHA for 4aa9584
sample/manifest.yml
@@ -5,10 +5,16 @@ applications:
5
#
6
- name: logging-sample-app
7
instances: 1
8
+ buildpack: sap_java_buildpack
9
+ memory: 256M
10
path: target/logging-sample-app-3.7.0.war
11
env:
12
RANDOM_SLEEP: true
13
# Set LOG_*: true to activate logging of respective field
14
LOG_SENSITIVE_CONNECTION_DATA: false
15
LOG_REMOTE_USER: false
16
LOG_REFERER: false
17
+ # Some defaults in the SAP Java buildpack much higher than what this app needs.
18
+ # The values below have been devised empirically
19
+ # Default: '-XX:ReservedCodeCacheSize=240M -XX:MaxMetaspaceSize=141152K -Xss1M'
20
+ JAVA_OPTS: '-XX:ReservedCodeCacheSize=40M -XX:MaxMetaspaceSize=28M -Xss256K'
0 commit comments