# Check memory used by application

Source: [https://docs.qualcomm.com/doc/80-88500-3/topic/93_Check_memory_used_by_application.html](https://docs.qualcomm.com/doc/80-88500-3/topic/93_Check_memory_used_by_application.html)

To check the memory leak by process wise, use the Procrank tool. The Procrank tool is part of the
      QCB5165 device. Run the Procrank tool in the loop during the use case and monitor the PSS of
      the process.

Table : Procrank tool commands

| PID | ADJ | VSS | RSS | PSS | USS | CMD line |
| --- | --- | --- | --- | --- | --- | --- |
| 2413 | 0 | `700496K` | `81964K` | `81964K` | `81964K` | `/usr/bin/qmmf-server` |
| 3753 | 0 | `194156K` | `8104K` | `8104K` | `8104K` | `gst-launch-1.0` |
| 505 | -17 | `8136K` | `3056K` | `3056K` | `3056K` | `/lib/systemd/systemd-udevd` |
| 1 | 0 | `9792K` | `2020K` | `2020K` | `2020K` | `/sbin/init` |
| 2480 | 0 | `75308K` | `1576K` | `1576K` | `1576K` | `/sbin/logd` |
| 2397 | 0 | `33052K` | `1028K` | `1028K` | `1028K` | `/usr/bin/QCMAP_ConnectionManager` |
| 3621 | 0 | `79780K` | `780K` | `780K` | `780K` | `/usr/bin/pulseaudio` |
| 2361 | 0 | `48132K` | `740K` | `740K` | `740K` | `/usr/bin/sensors.qti` |
| 2371 | 0 | `54248K` | `728K` | `728K` | `728K` | `/usr/sbin/cnss_daemon` |
| 2580 | 0 | `16580K` | `452K` | `452K` | `452K` | `/usr/bin/diagrebootapp` |

**Parent Topic:** [Debug user space](https://docs.qualcomm.com/doc/80-88500-3/topic/90_Debug_userspace_.html)

Last Published: Sep 26, 2023

[Previous Topic
Trigger backtrace via code in user space](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/92_Trigger_backtrace_via_code_in_userspace.md) [Next Topic
Collect Ftrace](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/94_Collect_Ftrace.md)