Skip to content

Instantly share code, notes, and snippets.

@fischermatte
Created October 6, 2017 17:34
Show Gist options
  • Save fischermatte/a621218495c2c3cd3ac9aae51052b7ef to your computer and use it in GitHub Desktop.
Save fischermatte/a621218495c2c3cd3ac9aae51052b7ef to your computer and use it in GitHub Desktop.
# Cloud Foundry Manifest with 256m example
applications:
- name: my-app
path: ma-app.jar
instances: 1
buildpack: https://github.com/cloudfoundry/java-buildpack.git
memory: 256m
env:
JAVA_OPTS: '-XX:ReservedCodeCacheSize=32M -XX:MaxDirectMemorySize=32M'
JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 1.8.0_+ }, memory_calculator: { stack_threads: 30 } }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment