Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to run Windows 7 VM on Ubuntu in my machine and found a quite confusing problem.

My machine is an i5 with 8 GB ram (4GB x 2).

Both the Ubuntu and Windows 7 installations are 32-bit. In order to optimize the use of the ram, I want to give 4 GB RAM for each OS.

But is it possible that the two RAM are used for both OSes? That means each OS is allocated for 2GB of the two RAM. If yes, how could I do so? Any setting in the VMware?

Otherwise, is it possible to allocate each RAM for each OS only?

I am afraid that the machine will just use 1 RAM.

share|improve this question
add comment

1 Answer

The VM will only use as much RAM as it needs, just because you allocated 4 GB RAM to the VM does not mean it will all be used unless needed.

Think of it as the maximum RAM you want to allow the VM to use.

With 4 GB RAM allocated and 8 GB RAM on your machine it should work quite safely unless you are using lots of RAM on Ubuntu.

share|improve this answer
    
But can I enforce Ubuntu to use 2 GB of both ram? –  user883434 Feb 21 '12 at 14:42
    
What do you mean by 'use 2 GB of both RAM'? –  Renan Feb 21 '12 at 15:09
    
I have 2 RAM. Each has 4GB. I want to assign 2GB in ram 1 and 2GB in ram 2 to my Ubuntu. And I want to assign the 2GB left in each ram to my Window on the vmware –  user883434 Feb 25 '12 at 14:36
    
There is no need - or better, no way (as far as I can tell) - to assign '2 GB in RAM 1 and 2 GB in RAM 2'. Just assign 4 GB RAM to the Windows VM. –  Renan Feb 25 '12 at 14:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.