MozTW 討論區

各項 Mozilla 相關軟體與技術討論
現在的時間是 2025-09-17, 06:39

所有顯示的時間為 UTC + 8 小時





發表新文章 回覆主題  [ 17 篇文章 ]  前往頁數 上一頁  12
發表人 內容
文章發表於 : 2012-01-22, 00:51 
這是剛剛 ff 再度當掉後重新啟動, 一樣兩個 tab: 回復瀏覽狀態和 about:memory?verbose
(不同的是, 選擇進行回復瀏覽狀態卻開出另一個視窗, 裡面也是回復瀏覽狀態和 about:memory 兩個 tab)
下面是關掉第一個視窗, 留下第二個視窗, 還未進行再次的回復瀏覽狀態前,
僅僅兩個 tab, 就用了 500多 MB 的 log:

請教先進高人: 除了這裡面那裏有問題外, 這檔落落長, 要先看哪幾項才是?
----------------------------------------------------------------------

Main Process

Explicit Allocations
504,899,882 B (100.0%) -- explicit
├──340,766,524 B (67.49%) -- heap-unclassified
├──156,263,914 B (30.95%) -- js
│ ├──146,485,274 B (29.01%) -- compartment([System Principal], 0x466d000)
│ │ ├──107,912,094 B (21.37%) -- string-chars
│ │ ├───19,017,728 B (03.77%) -- gc-heap
│ │ │ ├───9,129,760 B (01.81%) -- objects
│ │ │ ├───4,369,360 B (00.87%) -- shapes
│ │ │ ├───2,282,040 B (00.45%) -- scripts
│ │ │ ├───2,156,480 B (00.43%) -- arena-unused
│ │ │ ├─────856,768 B (00.17%) -- strings
│ │ │ ├──────94,464 B (00.02%) -- type-objects
│ │ │ ├──────74,288 B (00.01%) -- arena-headers
│ │ │ ├──────53,200 B (00.01%) -- arena-padding
│ │ │ └───────1,368 B (00.00%) -- xml
│ │ ├────6,062,080 B (01.20%) -- mjit-code
│ │ │ ├──5,418,620 B (01.07%) -- method
│ │ │ ├────587,324 B (00.12%) -- regexp
│ │ │ └─────56,136 B (00.01%) -- unused
│ │ ├────5,312,096 B (01.05%) -- script-data
│ │ ├────3,293,496 B (00.65%) -- object-slots
│ │ ├────1,723,760 B (00.34%) -- mjit-data
│ │ ├────1,705,504 B (00.34%) -- property-tables
│ │ ├──────529,752 B (00.10%) -- analysis-temporary
│ │ ├──────463,232 B (00.09%) -- shape-kids
│ │ ├──────177,964 B (00.04%) -- type-inference
│ │ │ ├───94,464 B (00.02%) -- object-main
│ │ │ └───83,500 B (00.02%) -- script-main
│ │ ├──────158,784 B (00.03%) -- tjit-data
│ │ │ ├───83,008 B (00.02%) -- trace-monitor
│ │ │ ├───51,200 B (00.01%) -- allocators-reserve
│ │ │ └───24,576 B (00.00%) -- allocators-main
│ │ └──────128,784 B (00.03%) -- object-empty-shapes
│ ├────5,658,380 B (01.12%) -- gc-heap-chunk-dirty-unused
│ ├────2,540,752 B (00.50%) -- compartment(atoms)
│ │ ├──1,541,312 B (00.31%) -- string-chars
│ │ ├────999,424 B (00.20%) -- gc-heap
│ │ │ ├──976,720 B (00.19%) -- strings
│ │ │ ├───16,976 B (00.00%) -- arena-unused
│ │ │ ├────3,904 B (00.00%) -- arena-headers
│ │ │ └────1,824 B (00.00%) -- arena-padding
│ │ └─────────16 B (00.00%) -- analysis-temporary
│ ├──────696,320 B (00.14%) -- runtime
│ │ ├──524,288 B (00.10%) -- atoms-table
│ │ └──172,032 B (00.03%) -- runtime-object
│ ├──────403,700 B (00.08%) -- gc-heap-chunk-admin
│ ├──────262,144 B (00.05%) -- stack
│ ├──────181,352 B (00.04%) -- compartment(null-principal)
│ │ ├──102,400 B (00.02%) -- gc-heap
│ │ │ ├───43,480 B (00.01%) -- arena-unused
│ │ │ ├───33,336 B (00.01%) -- objects
│ │ │ ├───23,560 B (00.00%) -- shapes
│ │ │ ├────1,152 B (00.00%) -- type-objects
│ │ │ ├──────400 B (00.00%) -- arena-headers
│ │ │ ├──────280 B (00.00%) -- arena-padding
│ │ │ ├──────120 B (00.00%) -- scripts
│ │ │ └───────72 B (00.00%) -- xml
│ │ ├───65,536 B (00.01%) -- mjit-code
│ │ │ ├──65,380 B (00.01%) -- unused
│ │ │ ├──────80 B (00.00%) -- method
│ │ │ └──────76 B (00.00%) -- regexp
│ │ ├────9,072 B (00.00%) -- object-slots
│ │ ├────1,728 B (00.00%) -- object-empty-shapes
│ │ ├────1,152 B (00.00%) -- type-inference
│ │ │ └──1,152 B (00.00%) -- object-main
│ │ ├────1,120 B (00.00%) -- property-tables
│ │ ├──────320 B (00.00%) -- shape-kids
│ │ ├───────16 B (00.00%) -- analysis-temporary
│ │ └────────8 B (00.00%) -- script-data
│ ├───────35,992 B (00.01%) -- compartment(moz-nullprincipal:{10d17156-304d-4801-8a2f-34db4a15c0fe})
│ │ ├──32,768 B (00.01%) -- gc-heap
│ │ │ ├──26,592 B (00.01%) -- arena-unused
│ │ │ ├───3,480 B (00.00%) -- objects
│ │ │ ├───2,240 B (00.00%) -- shapes
│ │ │ ├─────128 B (00.00%) -- arena-headers
│ │ │ ├─────120 B (00.00%) -- scripts
│ │ │ ├─────112 B (00.00%) -- arena-padding
│ │ │ └──────96 B (00.00%) -- type-objects
│ │ ├───2,544 B (00.00%) -- object-slots
│ │ ├─────256 B (00.00%) -- property-tables
│ │ ├─────160 B (00.00%) -- shape-kids
│ │ ├─────144 B (00.00%) -- object-empty-shapes
│ │ ├──────96 B (00.00%) -- type-inference
│ │ │ └──96 B (00.00%) -- object-main
│ │ ├──────16 B (00.00%) -- analysis-temporary
│ │ └───────8 B (00.00%) -- script-data
│ └────────────0 B (00.00%) -- gc-heap-chunk-clean-unused
├────4,027,576 B (00.80%) -- storage
│ └──4,027,576 B (00.80%) -- sqlite
│ ├────866,912 B (00.17%) -- other
│ ├────788,296 B (00.16%) -- cookies.sqlite
│ │ ├──776,552 B (00.15%) -- cache-used
│ │ ├────9,920 B (00.00%) -- stmt-used
│ │ └────1,824 B (00.00%) -- schema-used
│ ├────697,976 B (00.14%) -- places.sqlite
│ │ ├──568,168 B (00.11%) -- cache-used [4]
│ │ ├───81,856 B (00.02%) -- stmt-used [4]
│ │ └───47,952 B (00.01%) -- schema-used [4]
│ ├────632,328 B (00.13%) -- extensions.sqlite
│ │ ├──461,176 B (00.09%) -- cache-used
│ │ ├──164,160 B (00.03%) -- stmt-used
│ │ └────6,992 B (00.00%) -- schema-used
│ ├────365,456 B (00.07%) -- addons.sqlite
│ │ ├──329,552 B (00.07%) -- cache-used
│ │ ├───31,136 B (00.01%) -- stmt-used
│ │ └────4,768 B (00.00%) -- schema-used
│ ├────265,072 B (00.05%) -- webappsstore.sqlite
│ │ ├──205,480 B (00.04%) -- cache-used
│ │ ├───55,640 B (00.01%) -- stmt-used
│ │ └────3,952 B (00.00%) -- schema-used
│ ├────257,152 B (00.05%) -- chromeappsstore.sqlite
│ │ ├──198,216 B (00.04%) -- cache-used
│ │ ├───54,984 B (00.01%) -- stmt-used
│ │ └────3,952 B (00.00%) -- schema-used
│ ├─────63,024 B (00.01%) -- index.sqlite
│ │ ├──52,504 B (00.01%) -- stmt-used
│ │ ├───7,496 B (00.00%) -- cache-used
│ │ └───3,024 B (00.00%) -- schema-used
│ ├─────22,168 B (00.00%) -- downloads.sqlite
│ │ ├──14,440 B (00.00%) -- cache-used
│ │ ├───5,944 B (00.00%) -- stmt-used
│ │ └───1,784 B (00.00%) -- schema-used
│ ├─────22,072 B (00.00%) -- search.sqlite
│ │ ├──19,072 B (00.00%) -- cache-used
│ │ ├───1,792 B (00.00%) -- stmt-used
│ │ └───1,208 B (00.00%) -- schema-used
│ ├─────19,032 B (00.00%) -- content-prefs.sqlite
│ │ ├───8,648 B (00.00%) -- cache-used
│ │ ├───7,984 B (00.00%) -- stmt-used
│ │ └───2,400 B (00.00%) -- schema-used
│ ├─────11,152 B (00.00%) -- permissions.sqlite
│ │ ├───5,888 B (00.00%) -- stmt-used
│ │ ├───4,000 B (00.00%) -- cache-used
│ │ └───1,264 B (00.00%) -- schema-used
│ ├─────10,936 B (00.00%) -- signons.sqlite
│ │ ├───6,312 B (00.00%) -- cache-used
│ │ ├───2,824 B (00.00%) -- schema-used
│ │ └───1,800 B (00.00%) -- stmt-used
│ └──────6,000 B (00.00%) -- formhistory.sqlite
│ ├──4,000 B (00.00%) -- cache-used
│ ├──2,000 B (00.00%) -- schema-used
│ └──────0 B (00.00%) -- stmt-used
├────1,918,120 B (00.38%) -- layout
│ ├────621,220 B (00.12%) -- shell(chrome://browser/content/browser.xul)
│ │ ├──471,856 B (00.09%) -- arenas
│ │ └──149,364 B (00.03%) -- styledata
│ ├────393,844 B (00.08%) -- shell(chrome://firebug/content/panel.html)
│ │ ├──298,852 B (00.06%) -- styledata [3]
│ │ └───94,992 B (00.02%) -- arenas [3]
│ ├────362,664 B (00.07%) -- shell(about:memory?verbose)
│ │ ├──264,032 B (00.05%) -- arenas [2]
│ │ └───98,632 B (00.02%) -- styledata [2]
│ ├────341,348 B (00.07%) -- shell(chrome://firebug/content/firefox/firebugFrame.xul)
│ │ ├──232,816 B (00.05%) -- arenas
│ │ └──108,532 B (00.02%) -- styledata
│ ├────119,952 B (00.02%) -- shell(about:sessionrestore)
│ │ ├───70,192 B (00.01%) -- arenas
│ │ └───49,760 B (00.01%) -- styledata
│ └─────79,092 B (00.02%) -- shell(resource://gre-resources/hiddenWindow.html)
│ ├──49,444 B (00.01%) -- styledata
│ └──29,648 B (00.01%) -- arenas
├──────956,440 B (00.19%) -- xpti-working-set
├──────440,580 B (00.09%) -- images
│ ├──386,404 B (00.08%) -- chrome
│ │ ├──386,404 B (00.08%) -- used
│ │ │ ├──386,404 B (00.08%) -- uncompressed-heap
│ │ │ ├────────0 B (00.00%) -- raw
│ │ │ └────────0 B (00.00%) -- uncompressed-nonheap
│ │ └────────0 B (00.00%) -- unused
│ │ ├──0 B (00.00%) -- raw
│ │ ├──0 B (00.00%) -- uncompressed-heap
│ │ └──0 B (00.00%) -- uncompressed-nonheap
│ └───54,176 B (00.01%) -- content
│ ├──54,176 B (00.01%) -- used
│ │ ├──54,176 B (00.01%) -- uncompressed-heap
│ │ ├───────0 B (00.00%) -- raw
│ │ └───────0 B (00.00%) -- uncompressed-nonheap
│ └───────0 B (00.00%) -- unused
│ ├──0 B (00.00%) -- raw
│ ├──0 B (00.00%) -- uncompressed-heap
│ └──0 B (00.00%) -- uncompressed-nonheap
├──────404,209 B (00.08%) -- dom
├───────68,891 B (00.01%) -- network-memory-cache
├───────53,628 B (00.01%) -- cycle-collector
└────────────0 B (00.00%) -- spell-check

Other Measurements
390,732 B -- gfx-d2d-surfacecache
7,178,920 B -- gfx-d2d-surfacevram
568,820 B -- gfx-surface-image
0 B -- gfx-surface-win32
471,503,690 B -- heap-allocated
481,189,888 B -- heap-committed
2,412,544 B -- heap-dirty
19,220,804 B -- heap-unallocated
2 -- js-compartments-system
2 -- js-compartments-user
26,214,400 B -- js-gc-heap
2,243,528 B -- js-gc-heap-arena-unused
0 B -- js-gc-heap-chunk-clean-unused
5,658,380 B -- js-gc-heap-chunk-dirty-unused
30.14% -- js-gc-heap-unused-fraction
568,426,496 B -- private
555,847,680 B -- resident
892,493,824 B -- vsize


回頂端
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; Tablet PC 2.0)
  
引用回覆  
文章發表於 : 2012-01-22, 02:36 
離線

註冊時間: 2011-05-02, 00:32
文章: 590
既然你在新profile 內可以只吃100MB 記憶體,那就代表乾淨、完好的firefox 在你的電腦內仍有可能是運作正常,只是你所安裝的套件影響著。

看來你有安裝firebug (那些條目應該在about:memory 被遮蔽掉,之前沒有看到……),但它是已知會嚴重影響firefox 運作--但又非常實用--的套件(cpu 跟ram 都會吃很大)。Firebug 也會產生zombie compartment,在bugzilla 內更是被定為首要解決的記憶體問題[MemShrink:P1] 。
一般的建議都是,如非必要就不要啟動firebug。


回頂端
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0a1) Gecko/20120121 Firefox/12.0a1
 個人資料  
引用回覆  
顯示文章 :  排序  
發表新文章 回覆主題  [ 17 篇文章 ]  前往頁數 上一頁  12

所有顯示的時間為 UTC + 8 小時


誰在線上

正在瀏覽這個版面的使用者:Yahoo [Bot] 和 38 位訪客


不能 在這個版面發表主題
不能 在這個版面回覆主題
不能 在這個版面編輯您的文章
不能 在這個版面刪除您的文章
不能 在這個版面上傳附加檔案

搜尋:
前往 :  
Powered by phpBB® Forum Software © phpBB Group
正體中文語系由 竹貓星球 維護製作
© moztw.org, Mozilla Foundation
MozTW,Mozilla 台灣社群