Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We should maybe not use 2.8GB of RAM to load the single page HTML spec #10149

Closed
Ms2ger opened this issue Mar 23, 2016 · 3 comments
Closed

We should maybe not use 2.8GB of RAM to load the single page HTML spec #10149

Ms2ger opened this issue Mar 23, 2016 · 3 comments
Labels

Comments

@Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Mar 23, 2016

No description provided.

@Ms2ger
Copy link
Contributor Author

@Ms2ger Ms2ger commented Mar 23, 2016

Begin memory reports
|
| 2147.24 MiB -- explicit
|   17592186044414.23 MiB -- system-heap-unclassified
|    1996.43 MiB -- jemalloc-heap-unclassified
|     147.05 MiB -- url(https://html.spec.whatwg.org/)
|        104.33 MiB -- dom-tree
|         25.97 MiB -- js
|            24.00 MiB -- gc-heap
|               21.67 MiB -- used
|                1.08 MiB -- unused
|                0.70 MiB -- admin
|                0.54 MiB -- decommitted
|             1.06 MiB -- non-heap
|             0.91 MiB -- malloc-heap
|         10.85 MiB -- layout-thread
|             5.54 MiB -- stylist
|             5.24 MiB -- display-list
|             0.08 MiB -- local-context
|          1.35 MiB -- layout-worker-3-local-context
|          1.01 MiB -- layout-worker-5-local-context
|          0.99 MiB -- layout-worker-2-local-context
|          0.87 MiB -- layout-worker-0-local-context
|          0.85 MiB -- layout-worker-4-local-context
|          0.82 MiB -- layout-worker-1-local-context
|       2.90 MiB -- url(data:text/html;charset=utf-8,%3C!DOCTYPE%20html%3E%0A%3Cstyle%3E%0A%20body%2C%20html%20%7B%20margin%3A%200%3B%20padding%3A%200%3B%20overflow%3A%20hidden%3B%20%7D%0A%20div%20%7B%20width%3A%20600px%3B%20height%3A%20400px%3B%20position%3A%20relative%3B%20%7D%0A%20p%20%7B%20position%3A%20absolute%3B%20top%3A%200%3B%20margin%3A%200.25em%3B%20font%3A%20small-caps%20900%202em%20sans-serif%3B%20text-shadow%3A%20white%200%200%204px%3B%20%7D%0A%20span%20%7B%20display%3A%20block%3B%20%7D%0A%20.left%20%7B%20color%3A%20red%3B%20left%3A%200%3B%20text-align%3A%20left%3B%20%7D%0A%20.right%20%7B%20color%3A%20blue%3B%20right%3A%200%3B%20text-align%3A%20right%3B%20%7D%0A%20.middle%20%7B%20color%3A%20white%3B%20top%3A%20auto%3B%20bottom%3A%200%3B%20left%3A%200%3B%20right%3A%200%3B%20text-align%3A%20center%3B%20text-shadow%3A%20black%200%200%204px%3B%20%7D%0A%20.middle%20span%20%7B%20display%3A%20inline-block%3B%20margin%3A%200%201em%3B%20font-size%3A%200.75em%3B%20text-transform%3A%20uppercase%3B%20%7D%0A%3C%2Fstyle%3E%0A%3Cdiv%3E%0A%20%3Cimg%20src%3D%22https%3A%2F%2Fimages.whatwg.org%2Frobots.jpeg%22%3E%0A%20%3Cp%20class%3D%22score%20left%22%3E%3Cspan%3ERed%20Alliance%3C%2Fspan%3E%20%3Cspan%3E78%3C%2Fspan%3E%3C%2Fp%3E%0A%20%3Cp%20class%3D%22score%20right%22%3E%3Cspan%3EBlue%20Alliance%3C%2Fspan%3E%20%3Cspan%3E66%3C%2Fspan%3E%3C%2Fp%3E%0A%20%3Cp%20class%3D%22score%20middle%22%3E%3Cspan%3EQual%20Match%2037%3C%2Fspan%3E%20%3Cspan%3EFriday%2014%3A21%3C%2Fspan%3E%0A%3C%2Fdiv%3E)
|          2.86 MiB -- js
|             1.00 MiB -- gc-heap
|                0.55 MiB -- decommitted
|                0.35 MiB -- used
|                0.08 MiB -- unused
|                0.02 MiB -- admin
|             1.00 MiB -- non-heap
|             0.86 MiB -- malloc-heap
|          0.02 MiB -- layout-thread
|             0.02 MiB -- stylist
|             0.00 MiB -- display-list
|             0.00 MiB -- local-context
|          0.02 MiB -- dom-tree
|          0.00 MiB -- layout-worker-0-local-context
|          0.00 MiB -- layout-worker-1-local-context
|          0.00 MiB -- layout-worker-2-local-context
|          0.00 MiB -- layout-worker-3-local-context
|          0.00 MiB -- layout-worker-4-local-context
|          0.00 MiB -- layout-worker-5-local-context
|       2.60 MiB -- compositor-thread
|          1.60 MiB -- surface-map
|          1.00 MiB -- layer-tree
|       0.02 MiB -- url(https://html.spec.whatwg.org/demos/canvas/blue-robot/index-idle.html)
|          0.02 MiB -- layout-thread
|             0.02 MiB -- stylist
|             0.00 MiB -- display-list
|             0.00 MiB -- local-context
|          0.00 MiB -- layout-worker-0-local-context
|          0.00 MiB -- layout-worker-1-local-context
|          0.00 MiB -- layout-worker-2-local-context
|          0.00 MiB -- layout-worker-3-local-context
|          0.00 MiB -- layout-worker-4-local-context
|          0.00 MiB -- layout-worker-5-local-context
|
| 2492.75 MiB -- resident-according-to-smaps
|    2445.75 MiB -- anonymous (rw-p)
|      26.29 MiB -- /target/release/servo (r-xp)
|      10.02 MiB -- other
|       3.55 MiB -- /usr/lib/x86_64-linux-gnu/dri/i965_dri.so (r-xp)
|       2.12 MiB -- /target/release/servo (r--p)
|       1.49 MiB -- /lib/x86_64-linux-gnu/libc-2.19.so (r-xp)
|       1.49 MiB -- /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (r-xp)
|       0.75 MiB -- /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 (r-xp)
|       0.73 MiB -- /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 (r-xp)
|       0.54 MiB -- /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0 (r-xp)
|
| 2431.29 MiB -- jemalloc-heap-active
| 2117.57 MiB -- jemalloc-heap-allocated
| 3281.00 MiB -- jemalloc-heap-mapped
| 2487.20 MiB -- resident
|    0.00 MiB -- system-heap-allocated
| 4133.61 MiB -- vsize
|
End memory reports
@bks
Copy link

@bks bks commented Apr 16, 2017

This bug is probably at least related to why trying to load https://archiveofourown.org/media/Books%20a%20Literature/fandoms in the 2017-04-14 Windows nightly build uses 2.2+ GB of RAM before crashing due to OOM. Let me know if I can acquire any more data to help diagnose this.

@nox
Copy link
Member

@nox nox commented Oct 1, 2017

I don't see the extreme memory usage anymore, but I see #18690.

@nox nox closed this Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.