Skip to content

Clarify error message on too large globals: Mention plan(..., maxSizeOfObjects) if that's where the limit is set, otherwise the legacy R option #817

@HenrikBengtsson

Description

@HenrikBengtsson
Error: Will not launch future due to the size of the globals 7.63 MiB exceeds 0.98 KiB. The total size of the 1 globals exported for future expression ('2 * a') is 7.63 MiB. This exceeds the maximum allowed size 0.98 KiB per by R option "future.globals.maxSize". This limit is set to protect against transfering too large objects to parallel workers by mistake, which may not be intended and could be costly. See help("future.globals.maxSize", package = "future") for further explainations and how to adjust or remove this threshold There is one global: 'a' (7.63 MiB of class 'numeric') [future <unnamed-5> (b41edf0a03857752077a3ad5663229b6-5); on b41edf0a03857752077a3ad5663229b6@hb-x1-2025<404689>]

There's also a spelling error in "explainations" above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions