{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/253","labels_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/253/comments","events_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/253/events","html_url":"https://github.com/cloudfoundry/java-buildpack/issues/253","id":116942554,"number":253,"title":"push fails with v3.3 java buildpack","user":{"login":"thomasmey","id":491111,"avatar_url":"https://avatars.githubusercontent.com/u/491111?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasmey","html_url":"https://github.com/thomasmey","followers_url":"https://api.github.com/users/thomasmey/followers","following_url":"https://api.github.com/users/thomasmey/following{/other_user}","gists_url":"https://api.github.com/users/thomasmey/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasmey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasmey/subscriptions","organizations_url":"https://api.github.com/users/thomasmey/orgs","repos_url":"https://api.github.com/users/thomasmey/repos","events_url":"https://api.github.com/users/thomasmey/events{/privacy}","received_events_url":"https://api.github.com/users/thomasmey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-14T18:07:52Z","updated_at":"2015-11-14T18:13:47Z","closed_at":null,"body":"Hi,\r\n\r\nwith javabuildpack v3.3 fails to start my java app with -m 64 option, the error is:\r\n\r\n-----> Downloaded app package (1012K)\r\n-----> Downloaded app buildpack cache (44M)\r\n-----> Java Buildpack Version: v3.3 | https://github.com/cloudfoundry/java-buildpack.git#378f420\r\n-----> Downloading Open Jdk JRE 1.8.0_65 from https://download.run.pivotal.io/openjdk/trusty/x86_64/openjdk-1.8.0_65.tar.gz (found in cache)\r\n       Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.3s)\r\n-----> Downloading Open JDK Like Memory Calculator 2.0.1_RELEASE from https://download.run.pivotal.io/memory-calculator/trusty/x86_64/memory-calculator-2.0.1_RELEASE.tar.gz (found in cache)\r\n       Cannot balance memory: Memory allocation failed for configuration: [metaspace:64M..], : Cannot allocate memory to 'heap' type\r\n[Buildpack]                      ERROR Compile failed with exception RuntimeError\r\nStaging failed: Buildpack compilation step failed\r\n\r\nFAILED\r\nBuildpackCompileFailed\r\n\r\nmy java app work with a previous javabuild pack, but I don't know the exact version, but I think it didn't include the memory calculator stuff.\r\n\r\nhow to disable the memory calcuator?\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/comments/156729867","html_url":"https://github.com/cloudfoundry/java-buildpack/issues/253#issuecomment-156729867","issue_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/253","id":156729867,"user":{"login":"thomasmey","id":491111,"avatar_url":"https://avatars.githubusercontent.com/u/491111?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasmey","html_url":"https://github.com/thomasmey","followers_url":"https://api.github.com/users/thomasmey/followers","following_url":"https://api.github.com/users/thomasmey/following{/other_user}","gists_url":"https://api.github.com/users/thomasmey/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasmey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasmey/subscriptions","organizations_url":"https://api.github.com/users/thomasmey/orgs","repos_url":"https://api.github.com/users/thomasmey/repos","events_url":"https://api.github.com/users/thomasmey/events{/privacy}","received_events_url":"https://api.github.com/users/thomasmey/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T18:13:47Z","updated_at":"2015-11-14T18:13:47Z","body":"okay, with build pack 3.3 my app needs now as a minimum 128m, i.e. the memory usage doubled, double cost :-(\r\n\r\nlog of push is:\r\n\r\n-----> Downloaded app package (1012K)\r\n-----> Downloaded app buildpack cache (44M)\r\n-----> Java Buildpack Version: v3.3 | https://github.com/cloudfoundry/java-buildpack.git#378f420\r\n-----> Downloading Open Jdk JRE 1.8.0_65 from https://download.run.pivotal.io/openjdk/trusty/x86_64/openjdk-1.8.0_65.tar.gz (found in cache)\r\n       Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.3s)\r\n-----> Downloading Open JDK Like Memory Calculator 2.0.1_RELEASE from https://download.run.pivotal.io/memory-calculator/trusty/x86_64/memory-calculator-2.0.1_RELEASE.tar.gz (found in cache)\r\n       Memory Settings: -Xms54613K -Xmx54613K -XX:MaxMetaspaceSize=64M -Xss568K -XX:MetaspaceSize=64M\r\n\r\n-----> Uploading droplet (45M)\r\n\r\n1 of 1 instances running\r\n\r\nApp started\r\n"}}