audo completion in eclipse

Questions about applications and software
Forum rules
Before you post please read how to get help

audo completion in eclipse

Postby eyalH on Thu Oct 22, 2009 4:40 am

hi!
it's first time here.
when I try to use the auto completion feature in eclipse is works extremely slow.
can somebody help me?
eyalH
Level 1
Level 1
 
Posts: 3
Joined: Thu Oct 22, 2009 3:40 am

Linux Mint is funded by ads and donations.
 

Re: audo completion in eclipse

Postby lagagnon on Thu Oct 22, 2009 11:49 am

Eclipse is a very slow, cumbersome piece of software. How much RAM do you have? When you experience this slowdown open a terminal and type: "top" and "free" and see what is consuming your system resources and post the results back here.
User avatar
lagagnon
Level 7
Level 7
 
Posts: 1888
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: audo completion in eclipse

Postby eyalH on Sun Oct 25, 2009 1:43 pm

thank you for helping me.
this is the output of free:
Code: Select all
             total       used       free     shared    buffers     cached
Mem:       1534620    1497260      37360          0      34296     987236
-/+ buffers/cache:     475728    1058892
Swap:            0          0          0


and when eclipse tries to autocomplete, memory is ok but one of the cores of the processor becomes 100% busy for a few seconds. eclipse's window is turning gray, and I have to wait until it wakes up again after a few seconds.
eyalH
Level 1
Level 1
 
Posts: 3
Joined: Thu Oct 22, 2009 3:40 am

Re: audo completion in eclipse

Postby lagagnon on Sun Oct 25, 2009 3:25 pm

Yes memory and swap are you problem. If you look at the output from "free" you will see you have almost used up all your RAM and you do not have swap enabled. You need to definetely have swap space - that is probably why you are having problems. When you installed Mint did you create a swap partition? It appears not. Please post the output of:

sudo fdisk -l
cat /etc/fstab
User avatar
lagagnon
Level 7
Level 7
 
Posts: 1888
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: audo completion in eclipse

Postby eyalH on Sun Oct 25, 2009 4:27 pm

Code: Select all
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x143d143d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        8159    65537136    7  HPFS/NTFS
/dev/sda4            8160        9729    12611025    5  Extended
/dev/sda5            8161        9657    12024652+  83  Linux
/dev/sda6            9658        9729      578308+  82  Linux swap / Solaris


Code: Select all
proc            /proc           proc    defaults        0       0
# / was on /dev/sda5 during installation
UUID=8a800728-424a-4890-a6da-8a6558c6ac63 /               ext3    relatime,errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=9eecc325-7930-4d0b-94a9-cecef5c419aa none            swap    sw              0       0
/dev/scd1       /media/cdrom2   udf,iso9660 user,noauto,exec,utf8 0       0


I created a swap partition during installation. As you can see, it's also listed in /etc/fstab.
"free" gives two lines as output. Isn't the second one the one that indicates the real free memory? anyway, the second line matches the used memory number indicated by htop: 350 out of 1500.
Am I missing something here?
Thank you!
eyalH
Level 1
Level 1
 
Posts: 3
Joined: Thu Oct 22, 2009 3:40 am


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 20 guests