Learn R Programming

shard (version 0.1.0)

scratch_pool_config: Configure scratch pool limits

Description

Configure scratch pool limits

Usage

scratch_pool_config(max_bytes = Inf)

Value

NULL, invisibly.

Arguments

max_bytes

Maximum scratch pool bytes allowed in a worker. If exceeded, the worker is flagged for recycle at the next safe point.

Examples

Run this code
cfg <- scratch_pool_config(max_bytes = 100 * 1024^2)

Run the code above in your browser using DataLab