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中设置一个设置,强制它释放尽可能多的内存,最小化:

  1. On the website url toolbar type about:config
  2. 在网站的url工具栏上输入about:config

  3. A page full of words will come up. right click anywhere and choose New -> Boolean
  4. 将出现一个充满文字的页面。右键单击任意位置并选择New - > Boolean

  5. For the name input type "config.trim_on_minimize" Select True
  6. 对于名称输入类型“config.trim_on_minimize”选择True

  7. Restart FireFox.

更多相关文章

  1. AngularJS - 删除绑定以避免内存泄漏
  2. Python是如何进行内存管理的
  3. python之内存概念
  4. 用于Python项目的低内存和最快查询数据库
  5. 在Python中的大文件中拆分行的内存问题
  6. 使用python 3.6将多个文件并行加载到内存中的最佳方法是什么?
  7. 每次部署站点时,如何使用Google App Engine清除内存缓存?
  8. python中查看变量内存地址的方法
  9. Linux下共享内存相关函数

随机推荐

  1. 格式化聊天列表时间
  2. PHP的防御XSS注入的终极解决方案
  3. 关于PHP Shell_exec所遇到的坑
  4. PHP如何获取不带命名空间的类名
  5. 解决PHP中Web程序中shell_exec()执行Shel
  6. PHP如何下载远程文件到指定目录
  7. PHP执行Linux命令的两个有用的函数exec和
  8. php中关于isset()、isnull()和empty()的
  9. php实现利用expat方式解析xml文件
  10. curl提交json数据的方法