If you are planning on installing Windows 7 you should go for the 32-bit version,because it is a lot faster [even when yo have extra RAM] than the 64-bit versions.Also 32-bits have some limitations.
Not sure if Pijush has mistyped or what to be honest.
If you want to have more than 4Gb useable RAM installed you must have a 64bit operating system. Personally, I have had absolutely no problems running a 64bit system and it performs better in just about every task (again from my experience) with more RAM it can use.
Which version of Windows 7 are you planning on? Different versions of Windows 7 64bit support different amounts of RAM also, see here:
However, the operating system is not necessarily the only limiting factor. There can be hardware limitations that mean it could only support up to 4Gb RAM even with a 64bit OS. Which exact Lenovo G40 is it as there may be some hardware limitations.
A forum community dedicated to tech experts and enthusiasts. Come join the discussion about articles, computer security, Mac, Microsoft, Linux, hardware, networking, gaming, reviews, accessories, and more!