blob: 23666c664423412d18fe48a63d4dba510797e692 [file] [log] [blame] [view]
<link rel="stylesheet" href="../style.css" />
[TOC]
# fuchsia.memory.debug
<div class="fidl-version-div"><span class="fidl-attribute fidl-version">Added: 12</span></div>
## **PROTOCOLS**
## MemoryPressure {#MemoryPressure}
*Defined in [fuchsia.memory.debug/debug.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.memory.debug/debug.fidl;l=11)*
<p>Helps debug memory-pressure related features on a fuchsia device.</p>
### Signal {#MemoryPressure.Signal}
<p>Signals registered watchers of the fuchsia.memorypressure service with the
specified memory pressure level. Intended for debugging only.
Does not on its own change the memory pressure level of the system, or trigger any
kernel memory reclamation tasks.
However the components listening will receive a memory pressure signal which can
lead to a change in the memory usage of the device, and an actual change in the
memory pressure level of the system.</p>
#### Request {#MemoryPressure.Signal_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>level</code></td>
<td>
<code><a class='link' href='../fuchsia.memorypressure/'>fuchsia.memorypressure</a>/<a class='link' href='../fuchsia.memorypressure/#Level'>Level</a></code>
</td>
</tr>
</table>