Eclipse unable to execute DEX:GC overhead limit exceeded GC overhead limit exceeded solution

Source: Internet
Author: User
Tags gc overhead limit exceeded

There is an old app in Eclipse, before packaging is smooth, today several times is not out of the bag, always error, and Eclipse is often not responding, very disgusting this software.

Later carefully read the English error content, the approximate meaning is: unable to execute DEX,GC space shortage, excess

On-line search of some information to find a solution, need to configure the eclipse, add space, as follows:


1. Turn off eclipse to open D:\eclipse\eclipse.ini

-startup

Plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807

-product

Org.eclipse.epp.package.jee.product

--launcher.defaultaction

OpenFile

--launcher. Xxmaxpermsize

512M

-showsplash

Org.eclipse.platform

--launcher. Xxmaxpermsize

512m

--launcher.defaultaction

OpenFile

-vmargs

-dosgi.requiredjavaversion=1.5

-dhelp.lucene.tokenizer=standard

-xms40m

-xmx512m

2, after the modification: modify the following

-vm

C:\Program Files\java\jdk1.7.0_21\bin\javaw.exe

-startup

Plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807

-product

Org.eclipse.epp.package.jee.product

--launcher.defaultaction

OpenFile

--launcher. Xxmaxpermsize

512M

-showsplash

Org.eclipse.platform

--launcher. Xxmaxpermsize

512m

--launcher.defaultaction

OpenFile

-vmargs

-dosgi.requiredjavaversion=1.5

-dhelp.lucene.tokenizer=standard

-xms256m

-xmx1024m

3. Save and open eclipse


This article is from the "Mobile Platform Development" blog, make sure to keep this source http://liuxudong1001.blog.51cto.com/10877072/1875685

Eclipse unable to execute DEX:GC overhead limit exceeded GC overhead limit exceeded solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.