Ubuntu does not see all of my memory.

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
khary23
Freshman Member
Posts: 52
Joined: Tue Jun 19, 2007 3:26 pm
Location: Broooklyn,NY

Ubuntu does not see all of my memory.

#1 Post by khary23 » Sun Jan 23, 2011 7:25 pm

I recently upgraded from 1GB of RAM toGB 3, but Unbuntu as well as the Sun VirtualBox only see 1.4GB. Is there any way I can get them to see and use all 3GB?
Thanks in advance.

T60p type 8741
Windows XP SP 3
Unbuntu 10.04

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Re: Ubuntu does not see all of my memory.

#2 Post by Harryc » Sun Jan 23, 2011 8:44 pm

How much does XP see?

khary23
Freshman Member
Posts: 52
Joined: Tue Jun 19, 2007 3:26 pm
Location: Broooklyn,NY

Re: Ubuntu does not see all of my memory.

#3 Post by khary23 » Sun Jan 23, 2011 9:24 pm

XP sees 3GB

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Re: Ubuntu does not see all of my memory.

#4 Post by Harryc » Sun Jan 23, 2011 9:38 pm

OK, excuse me but I don't know your experience level with Linux. How are you determining that it only sees 1.4GB? What is the result of the following command run from Terminal ;

free -t

khary23
Freshman Member
Posts: 52
Joined: Tue Jun 19, 2007 3:26 pm
Location: Broooklyn,NY

Re: Ubuntu does not see all of my memory.

#5 Post by khary23 » Sun Jan 23, 2011 11:34 pm

I was looking in the system monitor for the memory level. I was able to raise it from 512MB to 1.5 GB through the VirtualBox, but that is as high as it will go.

I tried the free -t and got a message saying command not found

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Re: Ubuntu does not see all of my memory.

#6 Post by Harryc » Mon Jan 24, 2011 5:46 am

I see. You need to run 'sudo free -t' or 'sudo free -m'
Here's a reference guide for sudo. Are you a new Ubuntu Linux user?
https://help.ubuntu.com/community/UsingTheTerminal

Neil
Senior ThinkPadder
Senior ThinkPadder
Posts: 2914
Joined: Sun Aug 07, 2005 5:41 pm
Location: Paragould AR USA

Re: Ubuntu does not see all of my memory.

#7 Post by Neil » Mon Jan 24, 2011 8:08 am

You've mentioned VirtualBox a couple of times, are you running Ubuntu in VB with XP as your host OS, or are you dual booting?
Collection = T500 - R400 - X300 - X200 - T61 (14" WXGA+) - T61 (14.1" SXGA+) - T60 (15" SXGA+) - X40 - T43p - T43 - T42p - A30P - 600E

khary23
Freshman Member
Posts: 52
Joined: Tue Jun 19, 2007 3:26 pm
Location: Broooklyn,NY

Re: Ubuntu does not see all of my memory.

#8 Post by khary23 » Mon Jan 24, 2011 3:56 pm

Harryc wrote:I see. You need to run 'sudo free -t' or 'sudo free -m'
Here's a reference guide for sudo. Are you a new Ubuntu Linux user?
https://help.ubuntu.com/community/UsingTheTerminal
I used it a few years ago as an undergrad for a class.
thanks for the link

khary23
Freshman Member
Posts: 52
Joined: Tue Jun 19, 2007 3:26 pm
Location: Broooklyn,NY

Re: Ubuntu does not see all of my memory.

#9 Post by khary23 » Mon Jan 24, 2011 3:57 pm

Neil wrote:You've mentioned VirtualBox a couple of times, are you running Ubuntu in VB with XP as your host OS, or are you dual booting?
I am running it in the VBox with XP as the host.

jdrou
Senior Member
Senior Member
Posts: 583
Joined: Tue Feb 10, 2009 6:15 pm
Location: Madison Heights, MI

Re: Ubuntu does not see all of my memory.

#10 Post by jdrou » Mon Jan 24, 2011 4:12 pm

What version of VirtualBox are you running? From the v4.0 changelog:

VMM: support more than 1.5/2 GB guest RAM on 32-bit hosts
Current Thinkpads:
X31, X40, X61T, X61, X201, X220 (i7 IPS), W520 (2720QM/2000M/FHD), T440p (i7-4800MQ/GF730GT/FHD)
Dells: Latitude C840, Precision M70, Precision M4400, M6400 (WUXGA), M6600, M6700
Daily driver: Dell XPS 13 w/Kaby Lake+Iris Pro+TB3

khary23
Freshman Member
Posts: 52
Joined: Tue Jun 19, 2007 3:26 pm
Location: Broooklyn,NY

Re: Ubuntu does not see all of my memory.

#11 Post by khary23 » Mon Jan 24, 2011 4:26 pm

Found through the terminal using "free" that the total memory is 1507724, but I don't know what units are being used.

khary23
Freshman Member
Posts: 52
Joined: Tue Jun 19, 2007 3:26 pm
Location: Broooklyn,NY

Re: Ubuntu does not see all of my memory.

#12 Post by khary23 » Mon Jan 24, 2011 4:28 pm

jdrou wrote:What version of VirtualBox are you running? From the v4.0 changelog:

VMM: support more than 1.5/2 GB guest RAM on 32-bit hosts
I am using version 3.2.12.

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Re: Ubuntu does not see all of my memory.

#13 Post by Harryc » Mon Jan 24, 2011 5:31 pm

khary23 wrote:Found through the terminal using "free" that the total memory is 1507724, but I don't know what units are being used.
That is 1.5GB. So, since you running Ubuntu under Virtualbox, the OS won't see more than it's assigned virtual memory. Does that answer your original question?

craigmontHunter
Senior Member
Senior Member
Posts: 742
Joined: Wed Feb 18, 2009 10:25 pm
Location: Ottawa, Ontario, Canada

Re: Ubuntu does not see all of my memory.

#14 Post by craigmontHunter » Mon Jan 24, 2011 5:36 pm

Then you are running into an issue where *no* (there are obviously exceptions, especially VM software) 32-bit application in 32 bit windows can use more than 2gb of ram total. That is one of the big pushes to go to 64-bit - you can allocate as much ram as you want. (one of the selling features of 64-bit office is the ability to open files >2gb in excel and project.

Since v4.0 seems to have solved this problem, I would recommend the upgrade, unless you can live with only 1.5gb of ram. Since you have a t60, It is not worth it to upgrade to a C2D and 64 bit, since in my tests, w7pro x64 uses a gb of ram idle, so you are not really gaining everything, because of the chipset max of 3gb (on a t61 or newer, that would be a diffrent story)
Elitebook 8440p, i5 520, 8gb, Samsung 840 SSD
Old/Not Working/Dead Laptops:
T61 7661CC2, 4gb, Windows 7 x64, 240gb intel SSD, 500gb Ultrabay drive
Toshiba Portege 7020ct
Thinkpad T41 23737FU
Dell Latitude LS

khary23
Freshman Member
Posts: 52
Joined: Tue Jun 19, 2007 3:26 pm
Location: Broooklyn,NY

Re: Ubuntu does not see all of my memory.

#15 Post by khary23 » Mon Jan 24, 2011 5:49 pm

Thank you for the help. I guess that means I need a separate Lunix machine for my simulations.

craigmontHunter
Senior Member
Senior Member
Posts: 742
Joined: Wed Feb 18, 2009 10:25 pm
Location: Ottawa, Ontario, Canada

Re: Ubuntu does not see all of my memory.

#16 Post by craigmontHunter » Mon Jan 24, 2011 7:24 pm

another option would be a program like wubi, so that you can run a second linux install that is installed as a program from windows, but it can access all of the avilable memory, but you can access your windows partition and files.
Elitebook 8440p, i5 520, 8gb, Samsung 840 SSD
Old/Not Working/Dead Laptops:
T61 7661CC2, 4gb, Windows 7 x64, 240gb intel SSD, 500gb Ultrabay drive
Toshiba Portege 7020ct
Thinkpad T41 23737FU
Dell Latitude LS

MrPeter1985
Posts: 38
Joined: Fri Oct 08, 2010 1:30 pm
Location: Jeffersonville, Indiana
Contact:

Re: Ubuntu does not see all of my memory.

#17 Post by MrPeter1985 » Tue Jan 25, 2011 11:46 am

craigmontHunter wrote:another option would be a program like wubi, so that you can run a second linux install that is installed as a program from windows, but it can access all of the avilable memory, but you can access your windows partition and files.
Agreed...

If you need all of the 3gigs of Ram for something in Ubuntu, then I would use a image program to load the ISO image and install Ubuntu inside Windows like any other program. Doing that will allow you to choose Windows or Ubuntu at bootup.

Now if you need both at the same time, then you would need a second PC as you mentioned.

Another option would be to give Ubuntu more swap space as this acts like ram, but I am unable to explain how to do that, a google search will help.

My 2 Cents...
Just a GURU from the LENOVO Forum ~ MrPeter1985 | T500_2055-2CU | upgraded to 4g of RAM and 7200rpm HDD

craigmontHunter
Senior Member
Senior Member
Posts: 742
Joined: Wed Feb 18, 2009 10:25 pm
Location: Ottawa, Ontario, Canada

Re: Ubuntu does not see all of my memory.

#18 Post by craigmontHunter » Tue Jan 25, 2011 2:08 pm

(Yet another option) - use vpc, which seems to enable you to use >2gb ram, provided that you leave eneough for the base OS. (I don't know how transferrable your setup is)
Elitebook 8440p, i5 520, 8gb, Samsung 840 SSD
Old/Not Working/Dead Laptops:
T61 7661CC2, 4gb, Windows 7 x64, 240gb intel SSD, 500gb Ultrabay drive
Toshiba Portege 7020ct
Thinkpad T41 23737FU
Dell Latitude LS

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 2 guests