xamarin / GooglePlayServicesComponents

Other
316 stars 147 forks source link

java.lang.OutOfMemoryError. #293

Open winstongubantes opened 4 years ago

winstongubantes commented 4 years ago

Xamarin.Android Version (eg: 6.0):

Xamarin.Android 10.0.6.2

Operating System & Version (eg: Mac OSX 10.11):

Windows 10 10.0.17763 Build 17763

Google Play Services Version (eg: 8.4.0):

Xamarin.Firebase.Firestore 71.1705.0

Describe your Issue:

Severity Code Description Project File Line Suppression State Error java.lang.OutOfMemoryError. Consider increasing the value of $(JavaMaximumHeapSize). Java ran out of memory while executing 'java.exe -Dfile.encoding=UTF8 -Xmx1G -jar D:\Android\android-sdk\build-tools\28.0.3\lib\dx.jar --dex --no-strict --input-list=C:\Users\Admin\AppData\Local\Temp\tmp7B05.tmp --output obj\Debug\90\android\bin' WygoApp.Android

Steps to Reproduce (with link to sample solution if possible):

Everytime i add the Xamarin.Firebase.Firestore nuget i am getting this issue

Sample Project: https://1drv.ms/u/s!Ar9fLdRyzGGNgaMyGC-vyKo_U7wtfQ?e=fUICIs

moljac commented 4 years ago

@winstongubantes

Thanks for the sample. Appreciated.

winstongubantes commented 4 years ago

Welcome @moljac , ill be following this. until now i have still no luck with issue.

vhugogarcia commented 4 years ago

The same error is happening when installing 'Xamarin.Firebase.Auth 71.1605.0'

EmmanueleVilla commented 4 years ago

Same error to me, I tried in a fresh project

EmmanueleVilla commented 4 years ago

Same error to me, I tried in a fresh project

Maybe you already tried it, but I simply increased the heap size under project properties -> android build -> advanced to 4G and now it works