---
title: MemoryStat type | Wartiva GraphQL API
description: Detailed memory usage statistics for a process. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/memory-stat.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `MemoryStat` type

Detailed memory usage statistics for a process.

## Fields

| Field Name | Description |
|---|---|
| `percent` - [`Float!`](https://wartiva.com/api-docs/types/float.html) | The percentage of total system memory used by this process. |
| `rss` - [`Uint64!`](https://wartiva.com/api-docs/types/uint64.html) | Resident Set Size: the non-swapped physical memory used by the process (in bytes). |
| `vms` - [`Uint64!`](https://wartiva.com/api-docs/types/uint64.html) | Virtual Memory Size: the total amount of virtual memory used by the process (in bytes). |
| `shared` - [`Uint64!`](https://wartiva.com/api-docs/types/uint64.html) | Amount of shared memory used (in bytes). |
| `text` - [`Uint64!`](https://wartiva.com/api-docs/types/uint64.html) | Amount of memory used by executable code (in bytes). |
| `lib` - [`Uint64!`](https://wartiva.com/api-docs/types/uint64.html) | Amount of memory used by shared libraries (in bytes). |
| `data` - [`Uint64!`](https://wartiva.com/api-docs/types/uint64.html) | Amount of memory used by process data (in bytes). |
| `dirty` - [`Uint64!`](https://wartiva.com/api-docs/types/uint64.html) | Amount of dirty memory pages (in bytes). |
| `memoryMapStats` - [`MemoryMapStats!`](https://wartiva.com/api-docs/types/memory-map-stats.html) | Memory mapping statistics for the process. |

## Used by

- [`ProcessLinux`](https://wartiva.com/api-docs/types/process-linux.html) type: Linux O/S specific process information.

## Example

### Example

```json
{
  "percent": 987.65,
  "rss": "8589934592",
  "vms": "8589934592",
  "shared": "8589934592",
  "text": "8589934592",
  "lib": "8589934592",
  "data": "8589934592",
  "dirty": "8589934592",
  "memoryMapStats": MemoryMapStats
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
