---
name: "dis_memory_usage"
section: "7rheolef"
platform: "linux"
package: "librheolef-dev"
version: "7.2-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dis_memory_usage"
---

# dis\_memory\_usage(7rheolef)

memory used in distributed environment (rheolef-7.2)

## NAME

dis\_memory\_usage - memory used in distributed environment (rheolef-7.2)

## SYNOPSIS

```
size_t seq_memory_usage();
size_t dis_memory_usage();
size_t seq_peak_memory_usage();
size_t dis_peak_memory_usage();
size_t memory_size();
```

## DESCRIPTION

`seq_memory_usage`

 Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

`dis_memory_usage`

 Returns the accumulated memory usage for all processed linked together via the default communicator.

`seq_peak_memory_usage`

 Returns the peak (maximum so far) resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

`dis_peak_memory_usage`

 Returns the accumulated peak memory usage for all processed linked together via the default communicator.

`memory_size`

 Returns the size of physical memory (RAM) in bytes associated to the given process.

## IMPLEMENTATION

This documentation has been generated from file linalg/lib/dis\_memory\_usage.h

## AUTHOR

Pierre  Saramito  \<Pierre.Saramito@imag.fr\>

## COPYRIGHT

Copyright   (C)  2000-2018  Pierre  Saramito  \<Pierre.Saramito@imag.fr\> GPLv3+: GNU GPL version 3 or later  \<http://gnu.org/licenses/gpl.html\>. This  is  free  software:  you  are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
