process's virtual memory size on different machines
Does virtual memory of process can have different size on d开发者_JAVA技巧ifferent machines (CPU, memory)? The process does the same job on both machines.
The platform is RHEL 5.3 (kernel 2.6.18) and the process is C++ compiled by gcc (4.1.2).
If the OS/kernel, or any loaded modules (or even the installed .so
version of the g++ standard library) were different between the hosts, I don't see that you could necessarily rely on the virtual memory footprint being identical.
Even if all of those things were identical, but the total memory in the machine was different, it still seems possible that the kernel memory manager could behave in a different way such that the memory size would still differ.
精彩评论