【发布时间】:2016-06-22 06:05:08
【问题描述】:
您好朋友,每当我启动 android studio 时,我都会遇到一条错误消息。错误是 failed to create jvm error code -1。完整的错误消息请参见下图
我试图在谷歌上找到解决方案,但我没有找到任何解决方案。
谢谢
我的笔记本电脑配置是
win7 64位 i5 英特尔 8GB 6GB 内存 1 TB 硬盘
我的 android studio vmopetion 文件是
#
# *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
我的 java 版本是 1.8.0_91
【问题讨论】:
-
我有 answered on another thread 对我有用的东西。