0

I am trying to build an Android project in Visual Studio Enterprise 2015 on Windows 10. I get this error:

java.lang.OutOfMemoryError. Consider increasing the value of $(JavaMaximumHeapSize). Java ran out of memory while executing 'java.exe -jar ...

How can I increase the JavaMaximumHeapSize in Visual Studio Enterprise 2015?

As suggested in other answers, I went to Project Properties -> Android Options -> Advanced, but I did not see a MaximumHeapSize field.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
user3005720
  • 225
  • 2
  • 8

0 Answers0