Eclipse highlights Season 2

Source: Internet
Author: User
Tags gc overhead limit exceeded

The second season of eclipse-related problems started. These problems were common problems that I encountered, and I wrote down my notes to help others better.

1. Unable to execute DEX: GC overhead limit exceeded

On the other hand, unable to execute DEX: GC overhead limit exceeded occurs when the newly installed eclipse program runs Android, and it gets stuck frequently. In fact, the memory set by eclipse is too small. You can find eclipse. ini (usually in the installation path)

I set it like this. You can adjust it according to the configuration of your machine.

-startupplugins/org.eclipse.equinox.launcher_1.2.0.dist.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.dist-showsplashorg.eclipse.platform--launcher.XXMaxPermSize512m--launcher.defaultActionopenFile-vmargs-Xms512m-Xmx1024m-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins

After setting, eclipse does not get stuck.

2. Terminal in eclipse

Linux eclipse is a great tool for development. It is better to use the command line in eclipse than the run that comes with eclipse. The plug-in is developed by Googler.

Address: https://code.google.com/p/elt/

3. Eclipse cannot load SWT Libraries

32bit system plz try this

ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86/

64bit system plz try this

ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/

The sound continues, and the article does not stop.

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.