---
title: "Eclipse: Fail to create the java virtual machine"
author: "orange5458"
date: "2012-05-21T21:38:34Z"
tags: []
categories: ["非技术"]
slug: "eclipse-fail-to-create-the-java-virtual-machine"
draft: false
lastmod: "2012-05-21T21:38:34Z"
id: 1536944
url: "https://orange5458.iteye.com/blog/1536944"
---

问题描述

eclipse 启动时报错，提示：Failed to create the Java Virtual Machine.

截图如下：

![](http://dl.iteye.com/upload/attachment/0068/4379/4012560f-c80d-37bf-8416-dfe5b7f87bc3.jpg)

 

解决方法：

修改eclipse的eclipse.ini配置文件中的-Xmx512m为-Xmx256m