lsMem {berryFunctions}R Documentation

Show memory size of objects in MB

Description

Show memory size of the biggest objects in MB. Helps you find the biggest memory killers.

Usage

lsMem(n = 6, pos = 1, ...)

Arguments

n

Number of Objects to be shown separately. The rest is combined into "sum rest". DEFAULT: 6

pos

Environment where ls looks for objects.

...

Further arguments passed to ls

Value

Named vector with object sizes in MB (MegaBytes)

Author(s)

Berry Boessenkool, berry-b@gmx.de, Feb 2014

References

https://stackoverflow.com/questions/1358003/tricks-to-manage-the-available-memory-in-an-r-session

See Also

object.size, ls

Examples


## Not run: 
## excluded from CRAN check  - I forgot why, but there's probably a good reason
lsMem()

## End(Not run)


[Package berryFunctions version 1.20.1 Index]