Open gabowi opened 2 years ago
Have you tried incrementally reading parts of the file? E.g.
read_fst(path_fstfile, from=1, to=100)
read_fst(path_fstfile, from=100, to=1000)
read_fst(path_fstfile, from=120534468)
Hi @gabowi, did you check your memory consumption while the fst
file is loading from disk? This sounds like your system doesn't have enough memory to read this file but that shouldn't crash R
. Were the partial reads suggested by @fox34 successful?
Hey everyone,
first of all thank you for this package, which is quite helpful in our work. For the first time after writing and reading a lot files already, I now experience a problem.
Trying to read a 12 GB fst file (using:
read_fst(path_fstfile)
), R crashes. The error message is: "R Session Aborted. R encountered a fatal error. The session was terminated."This can be reproduces on different computers and from different sources (network, local drive). It is independent from whether data.table is loaded as well or not. It is furthermore independent from whether the script is called through RStudio or through the command line using Rscript.exe. There is sufficient memory available (more than 100 GB RAM). Other fst files can be read successfully.
metadata_fst() works well on this file (see output below).
Is there any method to retrieve the contents of this file?
Thank you in advance for your help. Gabriel
Note: other columns are of type character, double and logical.
Note: On another computer with R version 4.1.2 the error occurs as well.