“内存"和“内存"之间有什么区别?和“内存占用"Chrome的任务管理器上的字段? [英] What's the difference between "memory" and "memory footprint" fields on Chrome's task manager?

查看:62
本文介绍了“内存"和“内存"之间有什么区别?和“内存占用"Chrome的任务管理器上的字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Chrome 64,并注意到Chrome的任务管理器上有两个称为内存"的字段.参见下图:

I'm using Chrome 64 and noticed that there's two fields called "memory" on Chrome's task manager. See the picture below:

我在Chrome上找不到这些字段之间差异的任何解释,没有可用的工具提示(至少在macOS上没有).内存占用"字段似乎是新的,因为我不记得昨天之前看到过它.

I can't find any explanation of the difference between these fields on Chrome, there's no tooltips available (at least not on macOS). The "memory footprint" field seems to be new, because I don't recall seeing it before yesterday.

推荐答案

在Chrome中,内存"列代表共享内存+私有内存".如果启用这两列并添加数字,则会发现它们与内存"列匹配.在计算机的任务管理器或活动监视器中,您可以看到这些值与共享内存大小"和专用内存大小"相匹配.

In Chrome, the memory column represents Shared Memory + Private Memory. If you enable those two columns and add the numbers you will find they match the Memory column. In the task manager or activity monitor of the computer you can see that these values match the Shared Memory Size and Private Memory Size.

内存占用"列与任务管理器"或活动监视器"中为进程的内存"列报告的MB数量匹配.

The Memory Footprint column matches the number of MB reported for the Memory column of the process within the Task Manager or Activity Monitor.

Mac的活动监视器"中的真实内存"映射到Unix中的RSS(常驻集大小).下面的链接对此进行了解释.

Real Memory in a Mac's Activity Monitor maps to the RSS (Resident Set Size) in Unix. The link below explains this.

https://forums.macrumors.com/threads/memory-vs-real-memory.1749505/#post-19295944

Mac的活动监视器上的内存"列与专用内存大小"大致相关,但是计算得出的值似乎略小.此列将与Chrome中的内存占用量"列匹配.

The Memory column on a Mac's Activity Monitor roughly correlates to the Private Memory Size, however it seems to be calculated slightly smaller. This column will match the Memory Footprint column in Chrome.

请注意,此答案引用的是Mac,因为这是我当前正在使用的.对于Linux和Windows系统监视器和任务管理器,列名和答案会稍有变化.

Please note that this answer references Mac because that's what I'm currently using. The column names and answer would change slightly for Linux and Windows system monitor and task manager.

这篇关于“内存"和“内存"之间有什么区别?和“内存占用"Chrome的任务管理器上的字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆