时间线

My Life My Style

JVM terminated. Exit code=-1

启动Eclipse或基于Eclipse开发的软件时,弹出上图对话框。提示“JVM terminated. Exit code=-1”

通常可能是内存设置过大~可以找到Eclipse安装目录下的eclipse.ini(如基于Eclipse开发的其他软件,通常在安装目录也能找到ini配置文件)。

尝试修改ini配置文件中的这两个值:
-Xms256m
-Xmx512m

将数值改小试试吧(我的问题是这样解决掉滴)~
-Xms128m
-Xmx256m

发表评论

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Connecting to %s

加关注

Get every new post delivered to your Inbox.