failed to create jvm error code 4 android studio -
i updated last android studio , got error:
failed create jvm error code -4 jvm path: c:\program files\java\jdk1.7.0_45\jre if have 32-bit jdk installed, define java_home variable in not solved.
go c:\program files\android\android studio\bin\studio.exe.vmoptions
open notepad. times not editable give administrative permission , change following attributes:
-xmx512m -xmx256m
-xx:maxpermsize=250m -xx:maxpermsize=128m
or change:
-xmx750m -xmx512m
-xx:maxpermsize=350m -xx:maxpermsize=250m
This did not help. This issue started when I allowed AS to create the vm options file, after which I entered values as above. I still cannot start AS. I have been using AS for about 3 years with no issues until this. So, I intend to uninstall AS, then reinstall making sure the vm options file is not created.
ReplyDelete