Ubuntu - 4 GB Ram on 32 bit machine

Linux, Ubuntu

I have a 32bit machine at work, that has 4 gigs of RAM.  In order to get my kernel to recognize the correct amount of RAM I have _ALWAYS_ customized and recompiled a new kernel, which obviously removed my ability to upgrade to the latest/greatest from the repositories.

Well, those days are over for me!  This week I rebuilt my machine, and opted to use Ubuntu 9.04 Alpha 4 (which by the way is very stable and awesome).  And since I had a fresh system, I wanted to look around and see if there was an easier way to handle my RAM challenge.

Look no further.  Just install the following packages and then reboot, its just that easy.

linux-server

linux-image-server

linux-headers-server

linux-restricted-modules-server (I actually had to do the one for my kernel linux-restricted-modules-2.6.28-7-server)

The result is a nicely set up, compiz enabled, Gnome environment, but with a whopping 4 gb of memory.

sudo apt-get install linux-server linux-image-server linux-headers-server linux-restricted-modules-2.6.28-7-server

#
# Here is the Mem section from running 'top'
#
Mem:   4040568k total,  3833644k used,   206924k free,    87580k buffers



Shane Zehnder said:
 
Sweet. I definitely need to give this a try.
 
posted 388 days ago
Add Comment Reply to: this comment OR this thread
 
Henry Ho said:
 
Cool, can your 32bit ColdFusion use all 4GB?
 
posted 388 days ago
Add Comment Reply to: this comment OR this thread
 
 
I kind of doubt it. I believe the memory issue for 32 bit ColdFusion is more of a JVM limitation.
 
posted 388 days ago
Add Comment Reply to: this comment OR this thread
 
Henry Ho said:
 
Can you try if your Ubuntu can allocate all 4GB to JVM? :)
 
posted 388 days ago
Add Comment Reply to: this comment OR this thread
 
 
Ok, so after a few non-scientific tests I think I found that the largest heap I could have was 2500m (2.5 gigs). Anything over that ColdFusion would fail to start.


"Error occurred during initialization of VM
Could not reserve enough space for object heap"
 
posted 388 days ago
Add Comment Reply to: this comment OR this thread
 

Search

Fuelly