torbent commented on Bug JENKINS-10912

We also have client-side memory problems. Running Jenkins 1.471, seen with both IE and Firefox. It builds up major memory "waste" overnight, and I'm not using auto-refresh.

I took a snapshot of Firefox's about:memory the other day, after one night of Jenkins (here only the Jenkins compartment is shown):

1,165.05 MB (100.0%) ++  -- explicit
├────730.22 MB (62.68%) ── heap-unclassified
├────419.95 MB (36.05%) ++  -- js
│    ├──325.76 MB (27.96%) ++  -- compartment(http://jenkins/)
│    │  ├──256.25 MB (22.00%) ++  -- gc-heap
│    │  │  ├──167.00 MB (14.33%) ++  -- objects
│    │  │  │  ├──126.47 MB (10.86%) ── non-function
│    │  │  │  └───40.52 MB (03.48%) ── function
│    │  │  ├───76.72 MB (06.58%) ++  -- shapes
│    │  │  │   ├──64.94 MB (05.57%) ── dict
│    │  │  │   └──11.78 MB (01.01%) ++  -- (2 tiny)
│    │  │  │      ├──11.44 MB (00.98%) ── base
│    │  │  │      └───0.34 MB (00.03%) ── tree
│    │  │  ├───11.92 MB (01.02%) ++  -- arena
│    │  │  │   ├───7.62 MB (00.65%) ── unused
│    │  │  │   ├───2.30 MB (00.20%) ── padding
│    │  │  │   └───2.00 MB (00.17%) ── headers
│    │  │  └────0.61 MB (00.05%) ++  -- (3 tiny)
│    │  │       ├──0.46 MB (00.04%) ── scripts
│    │  │       ├──0.12 MB (00.01%) ── type-objects
│    │  │       └──0.03 MB (00.00%) ── strings
│    │  ├───37.10 MB (03.18%) ++  -- shapes-extra
│    │  │   ├──36.47 MB (03.13%) ── dict-tables
│    │  │   └───0.63 MB (00.05%) ++  -- (3 tiny)
│    │  │       ├──0.50 MB (00.04%) ── tree-tables
│    │  │       ├──0.08 MB (00.01%) ── tree-shape-kids
│    │  │       └──0.05 MB (00.00%) ── compartment-tables
│    │  ├───27.99 MB (02.40%) ── object-slots
│    │  └────4.41 MB (00.38%) ++  -- (7 tiny)
│    │       ├──2.01 MB (00.17%) ── object-elements
│    │       ├──0.97 MB (00.08%) ── analysis-temporary
│    │       ├──0.66 MB (00.06%) ── script-data
│    │       ├──0.45 MB (00.04%) ── mjit-code
│    │       ├──0.25 MB (00.02%) ++  -- type-inference
│    │       │  ├──0.16 MB (00.01%) ── object-main
│    │       │  ├──0.05 MB (00.00%) ── script-main
│    │       │  └──0.03 MB (00.00%) ── tables
│    │       ├──0.05 MB (00.00%) ── mjit-data
│    │       └──0.02 MB (00.00%) ── string-chars

Then I did a refresh (F5), which caused the machine+firefox to thrash for 10-15 minutes while it cleaned up its memory. After the dust settled, about:memory said this (again cut to Jenkins):

146.06 MB (100.0%) ++  -- explicit
├───96.13 MB (65.82%) ++  -- js
│   ├──59.40 MB (40.67%) ── gc-heap-decommitted
│   ├──10.38 MB (07.11%) ++  -- compartment(http://jenkins/)
│   │  ├───6.78 MB (04.64%) ++  -- gc-heap
│   │  │   ├──4.00 MB (02.74%) ++  -- arena
│   │  │   │  ├──3.88 MB (02.66%) ── unused
│   │  │   │  └──0.12 MB (00.08%) ++  -- (2 tiny)
│   │  │   │     ├──0.06 MB (00.04%) ── padding
│   │  │   │     └──0.05 MB (00.04%) ── headers
│   │  │   └──2.78 MB (01.90%) ++  -- (5 tiny)
│   │  │      ├──1.24 MB (00.85%) ++  -- objects
│   │  │      │  ├──0.72 MB (00.50%) ── non-function
│   │  │      │  └──0.51 MB (00.35%) ── function
│   │  │      ├──0.94 MB (00.64%) ++  -- shapes
│   │  │      │  ├──0.45 MB (00.31%) ── dict
│   │  │      │  ├──0.34 MB (00.23%) ── tree
│   │  │      │  └──0.15 MB (00.11%) ── base
│   │  │      ├──0.46 MB (00.31%) ── scripts
│   │  │      ├──0.12 MB (00.08%) ── type-objects
│   │  │      └──0.03 MB (00.02%) ── strings
│   │  └───3.60 MB (02.47%) ++  -- (9 tiny)
│   │      ├──1.10 MB (00.75%) ── analysis-temporary
│   │      ├──0.85 MB (00.58%) ++  -- shapes-extra
│   │      │  ├──0.50 MB (00.34%) ── tree-tables
│   │      │  ├──0.23 MB (00.16%) ── dict-tables
│   │      │  ├──0.08 MB (00.05%) ── tree-shape-kids
│   │      │  └──0.05 MB (00.03%) ── compartment-tables
│   │      ├──0.66 MB (00.45%) ── script-data
│   │      ├──0.45 MB (00.31%) ── mjit-code
│   │      ├──0.26 MB (00.18%) ++  -- type-inference
│   │      │  ├──0.16 MB (00.11%) ── object-main
│   │      │  ├──0.07 MB (00.05%) ── script-main
│   │      │  └──0.03 MB (00.02%) ── tables
│   │      ├──0.20 MB (00.14%) ── object-slots
│   │      ├──0.05 MB (00.04%) ── mjit-data
│   │      ├──0.02 MB (00.01%) ── string-chars
│   │      └──0.01 MB (00.01%) ── object-elements

Much better, and I remember to close my browser after work ...

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to