Skip to content

Instantly share code, notes, and snippets.

@Dannyzen
Created April 13, 2016 14:30
Show Gist options
  • Save Dannyzen/0e13aeebd925b9b031168ee61fa5f3b6 to your computer and use it in GitHub Desktop.
Save Dannyzen/0e13aeebd925b9b031168ee61fa5f3b6 to your computer and use it in GitHub Desktop.
Change the default app memory limit in pcfdev
change these files in the appropriate lines from 1024 to your memory requirement.
var/vcap/data/jobs/cloud_controller_worker/fake-job-template-version-adb288e9274353eed4d7a0c13ccd4fffd6080c8a/config/cloud_controller_ng.yml
51:default_app_memory: 1024
var/vcap/data/jobs/cloud_controller_clock/fake-job-template-version-adb288e9274353eed4d7a0c13ccd4fffd6080c8a/config/cloud_controller_ng.yml
55:default_app_memory: 1024
var/vcap/data/jobs/cloud_controller_ng/fake-job-template-version-adb288e9274353eed4d7a0c13ccd4fffd6080c8a/config/cloud_controller_ng.yml
51:default_app_memory: 1024
run:
$ monit restart cloud_controller_ng
push a new app, you should see:
requested state: started
instances: 1/1
usage: 256M x 1 instances #WHOOOO 256 not a 1g!
urls: php.local.pcfdev.io
last uploaded: Wed Apr 13 14:25:51 UTC 2016
stack: unknown
buildpack: php 4.3.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment