Skip to content

Running out of memory when calling summariseCharacteristics() #6

@schuemie

Description

@schuemie

The cohort in question is pretty large, and in this line the cohort is collected and downloaded to R, throwing the following error:

Error in `purrr::map()`:In index: 5.
Caused by error in `dplyr::collect()`:
! Failed to collect lazy table.
Caused by error:
! cannot allocate vector of size 12.5 Gb

Is the collect() necessary? At least in my use case, the program runs fine without the collect(), leaving a lazy table that PatientProfiles::summariseResult() handles just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions