<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mozilla.org/index.php?action=history&amp;feed=atom&amp;title=Performance%2FMemShrink%2FMeetings%2F2011-08-16</id>
	<title>Performance/MemShrink/Meetings/2011-08-16 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mozilla.org/index.php?action=history&amp;feed=atom&amp;title=Performance%2FMemShrink%2FMeetings%2F2011-08-16"/>
	<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=Performance/MemShrink/Meetings/2011-08-16&amp;action=history"/>
	<updated>2026-04-19T03:55:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=Performance/MemShrink/Meetings/2011-08-16&amp;diff=341062&amp;oldid=prev</id>
		<title>Jesse: /* Memshrink ideas */</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=Performance/MemShrink/Meetings/2011-08-16&amp;diff=341062&amp;oldid=prev"/>
		<updated>2011-08-18T01:40:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Memshrink ideas&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:40, 18 August 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* njn is not convinced that getting information out of a non-responsive browser is very useful.  sfink said these ideas are mostly useful any time you are reporting memory problems.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* njn is not convinced that getting information out of a non-responsive browser is very useful.  sfink said these ideas are mostly useful any time you are reporting memory problems.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Somebody needs to file a bug on writing memory event logs to disk.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Somebody needs to file a bug on writing memory event logs to disk.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* An intern jez is working on about:memory over time, in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Bug &lt;/del&gt;472209. atop is similar, at the system level.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* An intern jez is working on about:memory over time, in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{bug|&lt;/ins&gt;472209&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;. atop is similar, at the system level.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* A3: allow you to issue a remote command to dump an about:memory snapshot to a file.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* A3: allow you to issue a remote command to dump an about:memory snapshot to a file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* A4: can be annoying, but may not fix it.  sfink: last ditch emergency option to cover people with terrible situations.  Tab could close, or kill JS or something.  Better than just killing the browser.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* A4: can be annoying, but may not fix it.  sfink: last ditch emergency option to cover people with terrible situations.  Tab could close, or kill JS or something.  Better than just killing the browser.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* We&amp;#039;ll discuss more next week.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* We&amp;#039;ll discuss more next week.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jesse</name></author>
	</entry>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=Performance/MemShrink/Meetings/2011-08-16&amp;diff=340829&amp;oldid=prev</id>
		<title>Amccreight: Created page with &quot;== Updates on ongoing work == * njn found a huge [https://bugzilla.mozilla.org/show_bug.cgi?id=678422 clownshoes issue], which has now been approved for beta.  700mb on some page...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=Performance/MemShrink/Meetings/2011-08-16&amp;diff=340829&amp;oldid=prev"/>
		<updated>2011-08-17T18:37:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Updates on ongoing work == * njn found a huge [https://bugzilla.mozilla.org/show_bug.cgi?id=678422 clownshoes issue], which has now been approved for beta.  700mb on some page...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Updates on ongoing work ==&lt;br /&gt;
* njn found a huge [https://bugzilla.mozilla.org/show_bug.cgi?id=678422 clownshoes issue], which has now been approved for beta.  700mb on some pages.&lt;br /&gt;
* [https://bugzilla.mozilla.org/show_bug.cgi?id=678376 Bug 678376] shows off this clownshoes issue very well.  Generally, it is a good stress test for DOM and layout, but not a very representative page.  In Comment #13 of this bug, bz has a great breakdown of what is showing up in DMD.&lt;br /&gt;
* jemalloc&lt;br /&gt;
** pbiggar: jemalloc on 32-bit OSX doesn&amp;#039;t work, and is unfixable.  Want to enable for 64-bit, disable for 32-bit, but Unify, which creates the universal binary, doesn&amp;#039;t like that.&lt;br /&gt;
** khuey: has talked to the jemalloc people about upstream changes, ball is in our court for Windows jemalloc (this was about moving to a more recent version?).&lt;br /&gt;
* Jetpack.  What can we do to help Jetpack?  Gabor Krizsanits (Jetpack team) is investigating two Memshrink-related bugs right now ([https://bugzilla.mozilla.org/show_bug.cgi?id=677294 Bug 677294] and some other one).  He is new, so he&amp;#039;d like some help with these bugs and isn&amp;#039;t sure who to talk to.  jst suggested Blake or Andreas if they have time, or anybody from jsengine who knows about compartments.  Gabor will start with Blake.&lt;br /&gt;
* JS fragmentation: mccr8 talked to billm about a compacting collector.  Not a quick fix, but it would help a lot with JS heap fragmentation, which seems to be a big problem.&lt;br /&gt;
* sfink is working on tools to interactively debug what the JS roots are ([https://bugzilla.mozilla.org/show_bug.cgi?id=677949 Bug 677949]).  He is also working on the very beginnings of a low-level tool to dig around and try to find references to a pointer in memory.  Similar to what roc and Kevin Gadd have worked on.&lt;br /&gt;
&lt;br /&gt;
== Reporting memory bugs ==&lt;br /&gt;
* Ehsan raised the issue that when he&amp;#039;s reporting memory bugs, he&amp;#039;s not sure what to include.  He doesn&amp;#039;t have a lot of info about what is happening with his profile and whatever else.  Just puts about:memory info in, bugs don&amp;#039;t really go anywhere.  What useful information would help?&lt;br /&gt;
* njn said you should list your addons, see if you can reproduce it in safe mode.  Standard bug reporting things.&lt;br /&gt;
* Ehsan said these issues don&amp;#039;t always show up in a second run, so it isn&amp;#039;t clear what to do then.  If he can&amp;#039;t reproduce it, what then?&lt;br /&gt;
* Jesup said there should be a wiki article about reporting a memory leak.&lt;br /&gt;
&lt;br /&gt;
== Communication about things users can do to improve memory usage ==&lt;br /&gt;
njn: Might be good to emphasize more how to fix up your profile and deal with addons, as these can be a source of memory problems.  Especially with Firefox 7 coming out, where we claim to fix a bunch of memory leaks, if somebody tries it, and still has memory problems due to a busted profile, they will probably give up on Firefox entirely.&lt;br /&gt;
&lt;br /&gt;
== Memshrink ideas ==&lt;br /&gt;
* jst [https://wiki.mozilla.org/Performance/MemShrink/Ideas added the list of MemShrink ideas] to the wiki.  He went through the list to filter things out, but most of the ideas don&amp;#039;t have associated bugs yet.&lt;br /&gt;
* njn is not convinced that getting information out of a non-responsive browser is very useful.  sfink said these ideas are mostly useful any time you are reporting memory problems.&lt;br /&gt;
* Somebody needs to file a bug on writing memory event logs to disk.&lt;br /&gt;
* An intern jez is working on about:memory over time, in Bug 472209. atop is similar, at the system level.&lt;br /&gt;
* A3: allow you to issue a remote command to dump an about:memory snapshot to a file.&lt;br /&gt;
* A4: can be annoying, but may not fix it.  sfink: last ditch emergency option to cover people with terrible situations.  Tab could close, or kill JS or something.  Better than just killing the browser.&lt;br /&gt;
* We&amp;#039;ll discuss more next week.&lt;/div&gt;</summary>
		<author><name>Amccreight</name></author>
	</entry>
</feed>