android - Visual Studio 2015 RC & Cordova: Could not reserve enough space for object heap (solved) -


environment

  • vs 14.0.22823.1 d14rel

  • jdk1.7.0_55 32 bit comes current android sdk

  • windows 8.1

problem:

  • create new project of type "appache cordova apps", leave default name "blankcordovapp3"
  • build app default settings: works fine
  • doubleclick config.xml; config editor opens; goto "platforms" , change cordova cli "5.0.0."
  • rebuild solution several times and/or select "clean solution"
  • error message: "error occurred during initialization of vm; could not reserve enough space object heap"

solution:

  • do not change jvm arguments, there reason cordova scripts use settings of minimum maximum heap size.
  • in case: c:\program files\java\jdk1.8.0_31
  • instead, use 64 bit jdk , either set path environment variable (control panel => environment variables) or in vs goto "tools => options => tools apache cordova => environment variable overrides"
  • clean and/or rebuild solution
  • solved problem me
  • don't know exact problem is. i'm new cordova. size limitation of 32 bit jvm on windows 8.1 or daemon process not correctly free memory after several runs.

solution:

  • do not change jvm arguments, there reason cordova scripts use settings of minimum maximum heap size.
  • in case: c:\program files\java\jdk1.8.0_31
  • instead, use 64 bit jdk , either set path environment variable (control panel => environment variables) or in vs goto "tools => options => tools apache cordova => environment variable overrides"
  • clean and/or rebuild solution
  • solved problem me
  • don't know exact problem is. i'm new cordova. size limitation of 32 bit jvm on windows 8.1 or daemon process not correctly free memory after several runs.

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -