Open Bug 1665813 Opened 4 years ago Updated 3 years ago

Handle "memory-pressure" and reduce the profiler memory usage if possible

Categories

(Core :: Gecko Profiler, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: mozbugz, Unassigned)

References

(Blocks 1 open bug)

Details

It would be nice if the profiler could voluntarily reduce its memory usage when requested by a "memory-pressure" notification.

Special care may be needed around IPCs, to avoid confusion when buffer sizes suddenly change, and some in-flight DestroyReleasedChunksAtOrBefore messages become obsolete.

This could be combined with bug 959337: Both bugs need to listen to "memory-pressure", to record the event while profiling, and reduce the profiler's own memory usage if possible.

You need to log in before you can comment on or make changes to this bug.