Skip to content
/ memtools Public

Tools for debugging memory leaks in R

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

r-lib/memtools

Repository files navigation

memtools

R-CMD-check

Overview

memtools provides debugging tools to detect and solve memory leaks in R:

  • Record memory snapshots of the R heap.
  • Compare snapshots to detect leaked objects with a large retained size.
  • Inspect the shortest paths between nodes (e.g. between a leaked node and its dominator).

See vignette("memtools") for a tutorial.

Installation

Install memtools from github with:

remotes::install_github(
  "r-lib/memtools",
  build_manual = TRUE,
  build_vignettes = TRUE
)