the resulting and operation the highest memory sharing factor can then be determined as in step 372 the migrating vm can then be collocated with the vm offering the most memory sharing benefit as shown in step 375 as will be appreciated by one skilled in the art aspects of the present invention may be embodied as a system method or computer program product accordingly aspects of the present invention may take the form of an entirely hardware embodiment an entirely software embodiment including firmware resident software micro code etc or an embodiment combining software and hardware aspects that may all generally be referred to herein as a u201c circuit u201d u201c module u201d or u201c system u201d furthermore aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium s having computer readable program code embodied thereon any combination of one or more computer readable medium s may be utilized the computer readable medium may be a computer readable signal medium or a computer readable storage medium a computer readable storage medium may be for example but not limited to an electronic magnetic optical electromagnetic infrared or semiconductor system apparatus or device or any suitable combination of the foregoing more specific examples a non exhaustive list of the computer readable storage medium would include the following an electrical connection having one or more wires a portable computer diskette a hard disk a random access memory ram a read only memory rom an erasable programmable read only memory eprom or flash memory an optical fiber a portable compact disc read only memory cd rom an optical storage device a.