什么是内存占用量? [英] What is Memory footprint ?

查看:214
本文介绍了什么是内存占用量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在以下示例的上下文中,内存占用量是什么意思:

过多的内存占用量会导致以下情况:

-应用程序加载缓慢
-加载后,其他应用程序的运行速度比预期的慢.

What is meant by Memory footprint in context of the following example:

Excessive Memory Footprint leads to following:

-Application is slow to load
-After load, other application runs slower than expected

推荐答案

这意味着程序占用大量内存.因此,一个大脚人会占用较大的空间,并且可以在地板上覆盖更多的空间.
It means a program that takes up a large amount of memory. So a person with big feet would have a large footprint and cover more space on the floor.


这种比喻可以这样理解:当您穿着脏鞋在地板上行走时,留下你的足迹.之后,需要清洁地板.

在运行程序时,您将分配一些对象并使用内存和其他资源.您使用的资源越多,足迹"就越多.当不再需要那些对象时,您需要自己清理一下,以便可以回收这些资源以供其他对象使用.

—SA
The metaphor can be understood like this: when you walk on the floor in your dirty shoes, you leave your footprints. After that, the floor needs to be cleaned.

When you run you program, you allocate some objects and use memory and other resources. The more resources your use, the more the "footprint". When those objects are no longer needed, you need to clean up after yourself, so the resources could be reclaimed to be used by other objects.

—SA


这篇关于什么是内存占用量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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