我在Firefox中遇到内存泄漏或内存使用率高吗?
I'm loading some fairly big data sets in to firefox (500 k or so) and drawing tables with them. Firefox is using up to 400 megs of memory. How can I tell if Firefox is leaking memory, or is just using a lot of memory just because it can?
我正在将一些相当大的数据集加载到firefox(500 k左右)并使用它们绘制表格。 Firefox使用高达400兆的内存。我如何判断Firefox是否泄漏内存,或仅仅因为它可以使用大量内存?
Is there another browser which will use less memory if it doesn't need it? I get the feeling that firefox grabs a bunch of memory for itself and doesn't release it unless it has to. It may be apparent that my understanding of memory management in general is very superficial.
是否有另一个浏览器,如果它不需要它将使用更少的内存?我觉得firefox为自己抓住了一堆内存,除非必须,否则不会释放它。很明显,我对记忆管理的理解总体来说是非常肤浅的。
6 个解决方案
#1
There is a setting you can set in firefox that forces it to free as much memory as it can on minimise:
你可以在firefox中设置一个设置,强制它释放尽可能多的内存,最小化:
- On the website url toolbar type about:config
- A page full of words will come up. right click anywhere and choose New -> Boolean
- For the name input type "config.trim_on_minimize" Select True
- Restart FireFox.
在网站的url工具栏上输入about:config
将出现一个充满文字的页面。右键单击任意位置并选择New - > Boolean
对于名称输入类型“config.trim_on_minimize”选择True
更多相关文章
- AngularJS - 删除绑定以避免内存泄漏
- Python是如何进行内存管理的
- python之内存概念
- 用于Python项目的低内存和最快查询数据库
- 在Python中的大文件中拆分行的内存问题
- 使用python 3.6将多个文件并行加载到内存中的最佳方法是什么?
- 每次部署站点时,如何使用Google App Engine清除内存缓存?
- python中查看变量内存地址的方法
- Linux下共享内存相关函数