# Implemented getMaxRss for Windows · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/cc44183787adde8b83f9373dd53250f154058dc4)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: cc44183787adde8b83f9373dd53250f154058dc4

Requested commit: cc44183787adde8b83f9373dd53250f154058dc4

Commit: cc44183787adde8b83f9373dd53250f154058dc4

Tree: 9fe93e247b90d07951519f9102e2ae8716f322dc

Author: xEgoist

Committer: xEgoist

## Message

```
Implemented getMaxRss for Windows

In Windows, the equivalent to maxrss is PeakWorkingSetSize which is
found in PROCESS_MEMORY_COUNTERS in bytes.

Currently, this is done by calling `GetProcessMemoryInfo` in kernel32.

```

## Parents

- [84b89d7cfe452f91fa22f2646ef53a3a7e990456](https://git.cafe/gitcafe/zig/commit/84b89d7cfe452f91fa22f2646ef53a3a7e990456?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/cc44183787adde8b83f9373dd53250f154058dc4?format=markdown)
