# ProcessInfo.memory

Get the memory usage of a process.

```rhai
process.memory -> i64
```

Returns the memory usage of the process in bytes.

## Example

```rhai
let proc = process_get("nginx")?;
let mb = proc.memory / 1024 / 1024;
print(`Memory: ${mb} MB`);
```
