java.lang.OutOfMemoryError. Consider increasing the value of $(JavaMaximumHeapSize). Java ran out of memory while executing \'java.exe\'
The selected answer lead me in the right direction, but for Visual Studio 2017, the screen looks like:
Increasing java max heap size works for me
In my experience, memory issues ONLY happen on the android version of the Xamarin.Forms app. And it always have to deal with large-size images. I've dealt with this problem by using FFImageLoading(https://github.com/luberda-molinet/FFImageLoading)
Replace your
<Image Source="waterfront.jpg" />
With
<ffimageloading:CachedImage Source="waterfront.jpg"
DownsampleToViewSize = true,
BitmapOptimizations = true/>
You will see a drastic improvements in performance, and it will also solve your memory problems.