Skip to contents

Displays the largest objects in memory .

Usage

memUse(n = 10, orderBy = "size", decreasing = TRUE, pos = 1, ...)

Arguments

n

Positive integer: Maximum number of objects to display.

orderBy

Either 'size' (default) or 'name'.

decreasing

Logical, if TRUE (default), objects are displayed from largest to smallest.

pos

Environment from which to obtain size of objects. Default is 1. See ls.

...

Other arguments to pass to ls.

Value

Data frame.

Examples

memUse()
#>                   size
#> conversionFactors 5032
#> domLeap           3648
#> domNonLeap        3648
#> doyLeap           3648
#> doyNonLeap        3648
memUse(3)
#>                   size
#> conversionFactors 5032
#> domLeap           3648
#> domNonLeap        3648