| mem_report | R Documentation |
Generates a report of memory usage across all workers in the pool.
mem_report(pool = NULL)
pool |
Optional. A |
An S3 object of class shard_report with type "memory"
containing:
type: "memory"
timestamp: When the report was generated
pool_active: Whether a pool exists
n_workers: Number of workers
rss_limit: RSS limit per worker (bytes)
total_rss: Sum of RSS across all workers
peak_rss: Highest RSS among workers
mean_rss: Mean RSS across workers
workers: Per-worker RSS details
p <- pool_create(2)
mem_report(p)
pool_stop(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.