---
title: "eclipse-indigo 内存设置"
author: "flypeace"
date: "2015-06-16T15:56:08Z"
tags: []
categories: ["开源软件"]
slug: "eclipse-indigo"
draft: false
lastmod: "2015-06-16T16:01:19Z"
id: 2220086
url: "https://host.iteye.com/blog/2220086"
---

一、机器配置：

   win7 64位：

   本机内存：8G

   cpu:4核

二、配置如下：

 

主要配置参数如下

    --launcher.XXMaxPermSize  
    512M  
    --launcher.XXMaxPermSize  
    512m  
    -vm  
    C:\\jdks\\jdk1.6u45x64\\jre\\bin\\server\\jvm.dll  
    -vmargs  
    -Xms2048m  
    -Xmx2048m  
    -Xmn768m  

 

eclipse.ini中配置片段如下：

```
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vm 
C:\jdks\jdk1.6u45x64\jre\bin\server\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms2048m
-Xmx2048m
-Xmn768m
```

 

三、设置效果

    设置完之后，用起来比以前快多了，超爽。