{"id":1354,"date":"2017-02-06T19:46:11","date_gmt":"2017-02-06T10:46:11","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=1354"},"modified":"2017-02-13T14:21:01","modified_gmt":"2017-02-13T05:21:01","slug":"gradle%e3%81%8cgc-overhead-limit-exceeded","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/1354","title":{"rendered":"Gradle\u304c &quot;GC overhead limit exceeded&quot;"},"content":{"rendered":"<h2>\u75c7\u72b6<\/h2>\n<p>Gradle\u306b\u3088\u308b\u30d3\u30eb\u30c9\u4e2d\u306b\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u3067\u505c\u6b62\u3059\u308b\u3002<\/p>\n<pre class=\"wrap:true lang:default highlight:0 decode:true \" >Error:Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded\r\nError:1 error; aborting\r\nError:Execution failed for task ':transformClassesWithDexForDebug'.\r\n&gt; com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u89e3\u6c7a\u7b56<\/h2>\n<p>build.gradle\u306b\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u3066Java\u306e\u30d2\u30fc\u30d7\u30b5\u30a4\u30ba\u3092\u62e1\u5f35\u3059\u308b\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >android {\r\n  ...\r\n  dexOptions {\r\n    javaMaxHeapSize \"4g\"\r\n  }\r\n}<\/pre>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>\u4e0d\u5177\u5408\u518d\u73fe\u74b0\u5883<\/h2>\n<ul>\n<li>Android Studio 2.2.3<\/li>\n<li>Gradle 2.14<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u75c7\u72b6 Gradle\u306b\u3088\u308b\u30d3\u30eb\u30c9\u4e2d\u306b\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u3067\u505c\u6b62\u3059\u308b\u3002 Error:Uncaught translation error: java.util.concurrent.ExecutionException: java. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[17,47],"class_list":["post-1354","post","type-post","status-publish","format-standard","hentry","category-memo","tag-android","tag-gradle"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=1354"}],"version-history":[{"count":11,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1354\/revisions"}],"predecessor-version":[{"id":1375,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1354\/revisions\/1375"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=1354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=1354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=1354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}