{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/191","labels_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/191/comments","events_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/191/events","html_url":"https://github.com/cloudfoundry/java-buildpack/issues/191","id":81405269,"number":191,"title":"Memory settings are ignored in latest buildpack","user":{"login":"garethjevans","id":158150,"avatar_url":"https://avatars.githubusercontent.com/u/158150?v=3","gravatar_id":"","url":"https://api.github.com/users/garethjevans","html_url":"https://github.com/garethjevans","followers_url":"https://api.github.com/users/garethjevans/followers","following_url":"https://api.github.com/users/garethjevans/following{/other_user}","gists_url":"https://api.github.com/users/garethjevans/gists{/gist_id}","starred_url":"https://api.github.com/users/garethjevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethjevans/subscriptions","organizations_url":"https://api.github.com/users/garethjevans/orgs","repos_url":"https://api.github.com/users/garethjevans/repos","events_url":"https://api.github.com/users/garethjevans/events{/privacy}","received_events_url":"https://api.github.com/users/garethjevans/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-27T11:13:48Z","updated_at":"2015-05-27T14:52:11Z","closed_at":"2015-05-27T14:52:11Z","body":"Hi,\r\n\r\nUsing https://github.com/cloudfoundry/java-buildpack#c4c0af7, our attempts to reconfigure the memory settings appear to be ignored.\r\n\r\n```\r\ncf env app | grep JBP\r\nJBP_CONFIG_OPEN_JDK_JRE: [version: 1.8.0_+, memory_heuristics: {heap: 65, stack: 5, metaspace: 10, native: 20}]\r\n```\r\n\r\nbut, when the app is restaged, we can see that these values are not used.\r\n\r\n```\r\n-----> Downloaded app package (56M)\r\n-----> Downloaded app buildpack cache (50M)\r\nCloning into '/tmp/buildpacks/java-buildpack'...\r\n[ConfigurationUtils]             WARN  User config value for 'version' is not valid, existing property not present\r\n[ConfigurationUtils]             WARN  User config value for 'memory_heuristics' is not valid, existing property not present\r\n-----> Java Buildpack Version: c4c0af7 | https://github.com/cloudfoundry/java-buildpack#c4c0af7\r\n-----> Downloading Open Jdk JRE 1.8.0_45 from https://download.run.pivotal.io/openjdk/lucid/x86_64/openjdk-1.8.0_45.tar.gz (found in cache)\r\n       Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.1s)\r\n-----> Downloading Open JDK Like Memory Calculator 1.1.1_RELEASE from https://download.run.pivotal.io/memory-calculator/lucid/x86_64/memory-calculator-1.1.1_RELEASE (found in cache)\r\n       Memory Settings: -XX:MaxMetaspaceSize=78643K -XX:MetaspaceSize=78643K -Xss1M -Xmx576M -Xms576M\r\n-----> Downloading New Relic Agent 3.16.1 from https://download.run.pivotal.io/new-relic/new-relic-3.16.1.jar (found in cache)\r\n[ConfigurationUtils]             WARN  User config value for 'version' is not valid, existing property not present\r\n[ConfigurationUtils]             WARN  User config value for 'memory_heuristics' is not valid, existing property not present\r\n-----> Uploading droplet (106M)\r\n```\r\n\r\nWhat is the correct syntax for configuring these?\r\n\r\nThanks,\r\n\r\nGareth"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/comments/105943055","html_url":"https://github.com/cloudfoundry/java-buildpack/issues/191#issuecomment-105943055","issue_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/191","id":105943055,"user":{"login":"cgfrost","id":166104,"avatar_url":"https://avatars.githubusercontent.com/u/166104?v=3","gravatar_id":"","url":"https://api.github.com/users/cgfrost","html_url":"https://github.com/cgfrost","followers_url":"https://api.github.com/users/cgfrost/followers","following_url":"https://api.github.com/users/cgfrost/following{/other_user}","gists_url":"https://api.github.com/users/cgfrost/gists{/gist_id}","starred_url":"https://api.github.com/users/cgfrost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgfrost/subscriptions","organizations_url":"https://api.github.com/users/cgfrost/orgs","repos_url":"https://api.github.com/users/cgfrost/repos","events_url":"https://api.github.com/users/cgfrost/events{/privacy}","received_events_url":"https://api.github.com/users/cgfrost/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T14:52:11Z","updated_at":"2015-05-27T14:52:11Z","body":"I'm closing this issue out, pull request #192 has been merged. The change will be in the next release of the buildpack. Thanks for the contribution."}}