Topic: Investigate memory content
Problem to solve
See what is in memory. Dump a memory map. Check how many strings we have that are persisted and not recycled. Check how many symbols are hold forever.
Links / references
- Visualizing the Ruby heap + code listing: https://tenderlovemaking.com/2017/09/27/visualizing-your-ruby-heap.html
Auto-Summary 🤖
Discoto Usage
Points
Discussion points are declared by headings, list items, and single lines that start with the text (case-insensitive)
point:. For example, the following are all valid points:
#### POINT: This is a point* point: This is a point+ Point: This is a point- pOINT: This is a pointpoint: This is a **point**Note that any markdown used in the point text will also be propagated into the topic summaries.
Topics
Topics can be stand-alone and contained within an issuable (epic, issue, MR), or can be inline.
Inline topics are defined by creating a new thread (discussion) where the first line of the first comment is a heading that starts with (case-insensitive)
topic:. For example, the following are all valid topics:
# Topic: Inline discussion topic 1## TOPIC: **{+A Green, bolded topic+}**### tOpIc: Another topicQuick Actions
Action Description /discuss sub-topic TITLECreate an issue for a sub-topic. Does not work in epics /discuss link ISSUABLE-LINKLink an issuable as a child of this discussion
Last updated by this job
-
⏫ ROOT GitLab 1.8GB/2GB Focus https://gitlab.com/groups/gitlab-org/memory-team/-/epics/2 -
◀ PARENT Investigate memory content https://gitlab.com/groups/gitlab-org/memory-team/-/epics/2#note_446589562 - Before forking Puma, only 130MB of heap are accounted for by Ruby https://gitlab.com/gitlab-org/memory-team/memory-team-2gb-week/-/issues/4#note_449223823
- We're holding 50MB of string data in memory https://gitlab.com/gitlab-org/memory-team/memory-team-2gb-week/-/issues/4#note_449767013
- What data do we have in memory? https://gitlab.com/gitlab-org/memory-team/memory-team-2gb-week/-/issues/4#note_451032843