Closed GoogleCodeExporter closed 9 years ago
Take a look here:
https://code.google.com/p/vs-android/wiki/Troubleshooting#[apply]_Could_not_crea
te_the_Java_virtual_machine.
I'd imagine this is the same problem. The error is a little different. I added
the error from your output to that wiki page.
Original comment by gavin.dj.pugh
on 23 Jul 2014 at 6:38
I've tried 256, 512, 1024 and 2048 values, for first 2 everything looks same,
but on second 2 it crashes at the beginning:
1>------ Build started: Project: san-angeles, Configuration: Release Android
------
1> Envvar: JAVA_HOME is set to 'C:\Program Files (x86)\Java\jdk1.8.0_11'
1> Envvar: ANT_OPTS is set to '-Xms512m -Xmx1024m'
1> Envvar: JAVA_OPTS is set to ''
1> c:\apache-ant-1.9.4\bin\ant.bat release
1> Error occurred during initialization of VM
1> Could not reserve enough space for 1048576KB object heap
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Android\Microsoft.Cpp.Android.Targets
(276,5): error MSB6006: "c:\apache-ant-1.9.4\bin\ant.bat" exited with code 1.
2>------ Skipped Deploy: Project: san-angeles, Configuration: Release Android
------
2>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 1 skipped ==========
Alternative solution does nothing as well. Maybe its my hardware problem?
Original comment by kojote...@gmail.com
on 23 Jul 2014 at 7:32
Original issue reported on code.google.com by
kojote...@gmail.com
on 22 Jul 2014 at 7:58