peakRAM: Monitor the Total and Peak RAM Used by an Expression or Function

When working with big data sets, RAM conservation is critically important. However, it is not always enough to just monitor the size of the objects created. So-called "copy-on-modify" behavior, characteristic of R, means that some expressions or functions may require an unexpectedly large amount of RAM overhead. For example, replacing a single value in a matrix duplicates that matrix in the back-end, making this task require twice as much RAM as that used by the matrix itself. This package makes it easy to monitor the total and peak RAM used so that developers can quickly identify and eliminate RAM hungry code.

Version: 1.0.2
Depends: R (≥ 3.2.2)
Suggests: knitr, rmarkdown
Published: 2017-01-16
Author: Thomas Quinn [aut, cre]
Maintainer: Thomas Quinn <contacttomquinn at>
License: GPL-2
NeedsCompilation: no
Materials: README NEWS
CRAN checks: peakRAM results


Reference manual: peakRAM.pdf
Vignettes: Tracking Peak RAM Use and Minimizing Overhead
Package source: peakRAM_1.0.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: peakRAM_1.0.2.tgz
OS X Mavericks binaries: r-oldrel: peakRAM_1.0.2.tgz
Old sources: peakRAM archive


Please use the canonical form to link to this page.