简体   繁体   English

内存使用率超过100%

[英]memory usage more than 100%

I am using arm processor and one qt based gui application. 我正在使用ARM处理器和一个基于Qt的gui应用程序。 There is an issue of slow process. 有一个过程缓慢的问题。

Mem: 36272K used, 24692K free, 0K shrd, 188K buff, 19544K cached 内存:已使用36272K,免费24692K,0K shrd,188K buff,19544K已缓存

CPU: 6.1% usr 1.3% sys 0.0% nic 92.4% idle 0.0% io 0.0% irq 0.0% sirq CPU:6.1%usr 1.3%sys 0.0%nic 92.4%空闲0.0%io 0.0%irq 0.0%sirq

Load average: 0.25 0.18 0.07 1/43 553 平均负载:0.25 0.18 0.07 1/43 553

PID : 512 PID:512
PPID : 1 PPID:1
USER : root 使用者:root
STAT : S 状态:S
VSZ : 62368 VSZ:62368
%MEM : 102.0 %MEM:102.0
CPU : 0 CPU:0
%CPU : 5.5 %CPU:5.5
COMMAND : ./gopaljeearm -qws -nomouse 命令:./gopaljeearm -qws -nomouse

This is status when i use top command. 这是我使用top命令时的状态。

There is a very nice answer for Android applications which in turn should be applicable for most of the Linux applications. Android应用程序有一个很好的答案,这反过来应该适用于大多数Linux应用程序。 Quoting... 引述...

Note that memory usage on modern operating systems like Linux is an extremely complicated and difficult to understand area. 请注意,现代操作系统(如Linux)上的内存使用是一个极其复杂且难以理解的领域。 In fact the chances of you actually correctly interpreting whatever numbers you get is extremely low. 实际上,您正确解释任何数字的机会非常低。

you can read rest of it here . 您可以在这里阅读其余内容。

Another nice read is ELC: How much memory are applications really using? 另一个不错的读法是ELC:应用程序真正使用了多少内存? from LWN. 来自LWN。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM