manoja2k said:Most likely the color coding of the memory slots is for dual channel support. If you need dual channel support (increased effective memory speed but reduced memory) then you put two identical memory modules in the same color coded slot. In this case amount of memory does not get doubled, rather, speed gets doubled (theoretically because double bandwidth). If you want to increase your memory, then you must put one module in one color slot (say Blue) and other one in the different slot(say black). This forces single channel mode.
--- Updated Post - Automerged ---
Increasing the total RAM to 6GB will not be of help in 32-bit OS, unless you are using 64-bit OS
pr0ing said:Dual channel will only be effective if both the rams have same timings i.e. matching specs and preferably from the same manufacturer. If the rams are not similar then they will work in Dual channel mode with the speed of the lower specced ram.
Ideally you should get a pair of ram sticks so if you can afford it, get 2x4GB=8GB and sell off the single 2GB stick that you have. If that is not possible then try to find a similar 2GB stick as your current one and use them both in dual channel mode. If you go for 3 sticks of 2GB then I think they will work in single channel mode.
Before trying any of the above, check whether your 32-bit Ubuntu and the apps you are using are capable of utilizing that amount of ram. In a 32-bit windows OS only 3GB of ram is supported and there have been instances of certain drivers behaving improperly when the total system ram goes above that limit.