Eclipse运行时提示failed to create the java virtual machine 如何解决

突然就遇到了这个问题,打开Eclipse就提示“failed to create the java virtual machine”,分析了一下,感觉应该是由于分配的内存过大引起的,果断更改,成功了!

更改方法:

找到Eclipse的安装目录,打开ZendStudio.ini文件

然后将-Xmx1024M这里面的1024改小点,我改为了512,不知道会不会出现其他的问题,但是打开就提示“failed to create the java virtual machine”的问题解决了。

prolove 的头像

发表回复

  • b853

  • 9388

  • bc41

  • 0128

  • e36e

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Insert the contact form shortcode with the additional CSS class- "bloghoot-newsletter-section"

By signing up, you agree to the our terms and our Privacy Policy agreement.