Android Studio: "Could not reserve enough space for object heap" when making module -
i tried use android studio 0.1 build small project practice, when make module, android studio says:
android dex: [(module name)] error occurred during initialization of vm android dex: [(module name)] not reserve enough space object heap
i'm using windows 7 64-bit, jdk 1.7, 8gb ram. i'm not familiar gradle , don't have idea how workaround it. same pc not have problem.
i have tried modify studio.exe.vmoptions
in bin folder, , can see right-down corner change 742m when set -xmx768m. error still occurs. also, if want set larger value -xmx2g
, studio.bat
shows:
error occurred during initialization of vm not reserve enough space object heap error: not create java virtual machine. error: fatal exception has occurred. program exit.
then android studio not start up.
is there way make android studio usable? thank much.
for android studio - solution here.
Comments
Post a Comment