# TiDB Server OOM Diagnostic Method (C)

+ Grafana monitor
+ TiDB --> Server --> Uptime, together with [Memory Usage], to confirm TiDB instance runtime information, meanwhile check if there was memory spike happened
![center](./student-guide/diagram/23-diagnosis-03-01.png)
-------------------------------------------------------------

- Grafana monitoring
    - TiDB —> Server —> Memory Usage, you can observe the TiDB server instance showing a rapid increase in memory and a rapid decline in memory
  
    - TiDB —> Server —> Uptime, you can observe the startup time of the TiDB server instance, and use it with “Memory Usage” to confirm the operation status of the TiDB Server instance, such as whether the TiDB Server occurs at the same time as the memory usage is high restart phenomenon
