开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜