powered by
Show memory size of the biggest objects in MB. Helps you find the biggest memory killers.
lsMem(n = 6, pos = 1, ...)
Number of Objects to be shown separately. The rest is combined into "sum rest". DEFAULT: 6
Environment where ls looks for objects.
ls
Further arguments passed to ls
Named vector with object sizes in MB (MegaBytes)
https://stackoverflow.com/questions/1358003/tricks-to-manage-the-available-memory-in-an-r-session
object.size, ls
object.size
# NOT RUN { # } # NOT RUN { ## excluded from CRAN check - I forgot why, but there's probably a good reason lsMem() # } # NOT RUN { # }
Run the code above in your browser using DataLab