Skip to content

Investigate memory consumption on reading in CSV #445

Closed
@rok-cesnovar

Description

@rok-cesnovar

We have trimmed down the reading-in wall time quite a bit in the last few months, now we also need to investigate and profile the memory footprint of both read_cmdstan_csv and the $draws() function.

It seems that we are currently not near the optimal there, as can be seen in this report by @yizhang-yiz.

The baseline footprint is

fread_cmd <- paste0("grep -v '^#' --color=never ", output_file)
 draws <- data.table::fread(
          cmd = fread_cmd,
          data.table = FALSE
 )

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