How can you speed up Eclipse?

后端 未结 30 2222
甜味超标
甜味超标 2020-11-22 06:04

How can you make the experience with Eclipse faster?

For instance: I disable all the plugins I don\'t need (Mylyn, Subclipse, …).<

30条回答
  •  醉酒成梦
    2020-11-22 06:59

    Try these. There are two ways.

    First Procedure

    Refer this article.

    http://www.javacodegeeks.com/2014/06/the-real-way-to-make-eclipse-run-faster-on-ubuntu.html

    Second Procedure.

    Execute the command in the terminal.

    ramdisk
    

    to get better performance and fast response for Ubuntu.

    Ramdisk is part of system memory. Ubuntu by default uses a half of physical memory (RAM) as ramdisk, and it is mounted onto

    /dev/shm

    , it can be used just like normal disk space (create files and folders and manipulate them with better performance rather if they were stored on the hard disk). If ramdisk uses more than a half of RAM, data will be moved into the swap space. If ramdisk uses less, the remaining can still do what RAM’s doing.

    Set upper limit of ramdisk

    As is said above, ramdisk by default can use a half of RAM. If you want to change the upper limit, follow the steps below:

    1. Edit /etc/fstab by your favourate editor:

      gksudo gedit /etc/fstab

    2. Find this line and change to make it looks like this(add this line if not exist, and change 512M to what you like.):

      tmpfs /dev/shm tmpfs defaults,size=512M 0 0

    3. Reboot or re-mount

      /dev/shm

    Mount /tmp onto ramdisk

    To make it easy to use, you can mount a directory into

    /dev/shm
    

    by following commands:

    mkdir /dev/shm/tmp

    chmod 1777 /dev/shm/tmp

    mount --bind /dev/shm/tmp /tmp

提交回复
热议问题