tag:help.appveyor.com,2012-11-13:/discussions/problems/10101-xamarin-forms-java-ran-out-of-memory-while-executing-javaexeAppVeyor: Discussion 2018-10-19T08:18:35Ztag:help.appveyor.com,2012-11-13:Comment/441262082017-11-24T19:44:39Z2017-11-24T19:44:39ZXamarin Forms - Java ran out of memory while executing java.exe...<div><p>Can you try to change it at your project level as described <a href="https://stackoverflow.com/a/36835891/6733637">here</a>?</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/441262082017-11-24T20:29:31Z2017-11-24T20:30:53ZXamarin Forms - Java ran out of memory while executing java.exe...<div><p>Thank you for you answer.<br>
I have already tried setting it to 1G and 2G.<br>
It seems to make no difference.</p>
<p><a href="https://ci.appveyor.com/project/betrakiss/tramlinefive-xamarin/build/1.0.63">https://ci.appveyor.com/project/betrakiss/tramlinefive-xamarin/buil...</a></p>
<p>It builds as expected on my personal machine with or without this setting.</p></div>angelin.nedelchevtag:help.appveyor.com,2012-11-13:Comment/441262082017-11-24T20:53:57Z2017-11-24T20:54:38ZXamarin Forms - Java ran out of memory while executing java.exe...<div><p>Wow, I have just realised a mistake I did.<br>
I set the max heap size to 2G. It does not work with 2G.</p>
<p>I just tried setting it to 1G and it magically worked. Seems strange, doesn't it?<br>
Thank you for your assistance.</p></div>angelin.nedelchev