Closed Bug 1270774 Opened 8 years ago Closed 8 years ago

Intermittent test_memory_footprint.js | xpcshell return code: 0 followed by connect_client - [connect_client : 26] Footprint after DebuggerClient.connect() is

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(firefox49 fixed)

RESOLVED FIXED
Firefox 49
Tracking Status
firefox49 --- fixed

People

(Reporter: cbook, Assigned: terrence)

References

()

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

TEST-UNEXPECTED-FAIL | devtools/server/tests/unit/test_memory_footprint.js | xpcshell return code: 0

 01:47:07 WARNING - TEST-UNEXPECTED-FAIL | devtools/server/tests/unit/test_memory_footprint.js | connect_client - [connect_client : 26] Footprint after DebuggerClient.connect() is 2608 kB (should be less than 2600 kB).

https://treeherder.mozilla.org/logviewer.html#?job_id=27364462&repo=mozilla-inbound#L7285
Component: Developer Tools: Memory → Developer Tools
:terrence, it seems limits changed in bug 1267812 were not high enough for all cases.  Should we raise them a bit more?
Blocks: 1267812
Flags: needinfo?(terrence)
Yes, I believe we should. I think the issue is that we're not actually evacuating the nursery before testing the heap size, so up to 16MiB of in-use memory is getting blackholed by these measurements. Since I made the nursery GC more frequent for chrome code, we're probably seeing memory that was there before, but was getting ignored. I'll bump these up another 400KiB so that they are a round 1MiB above where they were before.
Flags: needinfo?(terrence)
Assignee: nobody → terrence
Status: NEW → ASSIGNED
Attachment #8749739 - Flags: review?(nfitzgerald)
Comment on attachment 8749739 [details] [diff] [review]
fix_devtools_memory_limits-v0.diff

Review of attachment 8749739 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #8749739 - Flags: review?(nfitzgerald) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/5d6d5ca13d3d0bf0398537a2336c4728736a92e6
Bug 1270774 - Fix devtool memory test limits to allow for more nursery slop; r=fitzgen
https://hg.mozilla.org/mozilla-central/rev/5d6d5ca13d3d
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: