• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Memory in Ubuntu installation

 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I said free -m at the terminal, I get total 3030 used 1571 free 1459....What does this mean. Do I have less than 2 GB? I thought I could install a lot of stuff. I had initially 20 GB of space in the partition where I installed Ubuntu.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any suggestion guys??
 
denis sorn
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
free -m doesn't give data for hard disk but for RAM and swap if you have swap partition or swap file. you need df command.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11886
198
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please remember that patience is a virtue. Everyone here is a volunteer, so a half day delay between you asking a question and getting a response is normal.

If you type "man free" into a shell, you will see the manual for the free command. There are also online versions (like this for example.

Looking at the man page, I can see that free displays the total amount of free and used physical and swap memory in the system, and the -m switch configures free to report in Mb. So your output indicates that you have 3 Gb of memory, and roughly half of that is in use.

Since you have not provided the complete output from when you ran the free command, it is a bit hard to determine what the 3Gb refers to, however I would assume from your "less than 2 GB" comment that you only have 2GB RAM installed. If this is the case then the 3GB of memory is probably virtual memory.

Jothi wrote:I thought I could install a lot of stuff. I had initially 20 GB of space in the partition where I installed Ubuntu.
The 20 GB is Hard Drive space, not memory. To find out how much hard drive space is still available, type "df -h" (without the quotes).

Andrew
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 4GB RAM on my machine. The reason why I asked this is that when I opened eclipse it gave me a warning saying that it does not have enough memory to run.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suddenly this is an Eclipse question. What command line are you using to start Eclipse? Are you running a 32-bit or 64-bit OS? If 64-bit, are you running a 64-bit or 32-bit JVM? What JVM are you running (either the OpenJDK or one of the Sun JDKs should work)? What are the contents of your eclipse.ini file?

By the way, I have 32-bit Ubuntu 8.10 on my laptop with 4GB of memory, and Sun's JDK 6u12 and Eclipse runs just fine.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed eclipse bz following a link given from a website. Im not able to find the location. I might post this here once I find it here.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.javalobby.org/java/forums/t72809.html - For installing java

http://ubuntuforums.org/showthread.php?t=941461 - For installing Eclipse
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11886
198
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use real words. I cannot work out what bz means. Is it one of "barometz, batz, befriz, bejazz, berkowitz, biquartz, biz, bizz, blitz, blizz, bonnaz, bortz, brizz, bruzz, burkundaz, buzz" ?

Peter is correct - this is an Eclipse question, not a Linux question (although finding out how to look at your memory and/or hard drive space is useful). You might want to look at these topics - although old, they are relevant:
  • Increase eclipse memory
  • Eclipse memory consumption


  • Note that these talk about setting the memory from the command line. You are probably better off setting the memory in the eclipse.ini file (which is probably why Peter asked about it

    Andrew
     
    Joe Harry
    Ranch Hand
    Posts: 10124
    3
    Eclipse IDE Mac PPC Ubuntu
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Andrew Monkhouse wrote:Please use real words. I cannot work out what bz means. Is it one of "barometz, batz, befriz, bejazz, berkowitz, biquartz, biz, bizz, blitz, blizz, bonnaz, bortz, brizz, bruzz, burkundaz, buzz" ?

    Peter is correct - this is an Eclipse question, not a Linux question (although finding out how to look at your memory and/or hard drive space is useful). You might want to look at these topics - although old, they are relevant:
  • Increase eclipse memory
  • Eclipse memory consumption


  • Note that these talk about setting the memory from the command line. You are probably better off setting the memory in the eclipse.ini file (which is probably why Peter asked about it

    Andrew


    I used a German keyboard when typing...so z got replaced with y when I typed it. Sorry!
     
    Peter Johnson
    author
    Bartender
    Posts: 5852
    7
    Android Eclipse IDE Ubuntu
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Im not able to find the [install] location.


    That is one reason why I don't use the package manager to install Java stuff - I can never tell where it ends up. So I always download the zip (or tar.gz) file and unpack it into /opt. Then I always know where my stuff is. (Though I looked at the web site you posted and that site has similar steps. So where did you unpack the tar.gz???))

    Oh, the eclipse.ini file should be in the same directory as the eclipse binary. You must know where the eclipse binary is - you need it to run Eclipse! You could check your Gnome menu, it should tell you.
     
    Joe Harry
    Ranch Hand
    Posts: 10124
    3
    Eclipse IDE Mac PPC Ubuntu
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks for the information!
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic