Package: memtoc 0.1.0
memtoc: Tictoc-style memory usage tracking
Simple start/stop memory tracking functions 'tic_mem()' and 'toc_mem()' that can be nested, inspired by the 'tictoc' package. Track RAM usage during code execution with support for logging, custom messages, nested tracking blocks, and parallel worker monitoring. Features continuous background polling to capture true peak memory usage across main process and workers. Integrates with the 'future' package ecosystem for automatic worker detection. Designed for monitoring memory consumption in parallel workflows.
Authors:
memtoc_0.1.0.tar.gz
memtoc_0.1.0.zip(r-4.7-any)memtoc_0.1.0.zip(r-4.6-any)memtoc_0.1.0.zip(r-4.5-any)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
memtoc/json (API)
| # Install 'memtoc' in R: |
| install.packages('memtoc', repos = c('https://jcoa05.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jcoa05/memtoc/issues
Last updated from:a7503e8498. Checks:5 FAIL, 1 ERROR, 3 WARNING. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | FAIL | 127 | ||
| source / vignettes | ERROR | 213 | ||
| linux-release | FAIL | 105 | ||
| macos-release | FAIL | 103 | ||
| macos-oldrel | FAIL | 157 | ||
| windows-devel | WARNING | 74 | ||
| windows-release | WARNING | 88 | ||
| windows-oldrel | WARNING | 95 | ||
| wasm-release | FAIL | 105 |
Exports:mem_capabilitiesmem_clearmem_clearlogmem_diagnosemem_logmem_parallel_infomem_print_logmem_recovertic_memtoc_mem
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Tictoc-Style Memory Usage Tracking | memtoc-package memtoc |
| Check memtoc capabilities | mem_capabilities |
| Clear the memtoc stack | mem_clear |
| Clear the memory tracking log | mem_clearlog |
| Diagnose memtoc capabilities | mem_diagnose |
| Retrieve the memory tracking log | mem_log |
| Get information about current parallel setup | mem_parallel_info |
| Print formatted log output | mem_print_log |
| Recover data from a crashed monitoring session | mem_recover |
| Start memory tracking | tic_mem |
| Stop memory tracking and report results | toc_mem |