DMD auto-triggered threshold reports

NEW
Assigned to

Status

()

Core
DMD
2 years ago
2 years ago

People

(Reporter: froydnj, Assigned: froydnj)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
It is sometimes useful to trigger reports when memory reaches a certain
threshold, rather than trying to ensure that you catch a high memory condition
through about:memory.
(Assignee)

Comment 1

2 years ago
Created attachment 8727889 [details] [diff] [review]
DMD auto-triggered threshold reports

This patch needs some cleanup (checking for TMP or TMPDIR environment variable,
so it works on Windows; we don't have XPCOM niceties, such as they are,
available in DMD), but this is the basic idea.

Ideally one could set the threshold via a DMD option as well.

I'm probably not going to work on this in the immediate future.
You need to log in before you can comment on or make changes to this bug.