Hello friends I am facing an error message whenever I am launching android studio.The error is failed to create jvm error code -1
.See the below image for the complete error message
I tried to find solution on Google, but I didn't find any solution.
Thanks
My laptop config is
win7 64bit i5 intel 8 gb 6 gb ram 1 tb hard disk
My android studio vmopetion
file is
#
# *DO NOT* modify this file directly. If there is a value that you would like to override,
# please add it to your user specific configuration file.
#
# See http://tools.android.com/tech-docs/configuration
#
-Xms256m
-Xmx1280m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-da
-Djna.nosys=true
-Djna.boot.library.path=
-Djna.debug_load=true
-Djna.debug_load.jna=true
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-Didea.paths.selector=AndroidStudio2.1
-Didea.platform.prefix=AndroidStudio
my java version is 1.8.0_91