r: vector memory exhausted (limit reached?)
0
0
Entering edit mode
@phshimaasherif-22566
Last seen 18 months ago

Good morning, I saw this massage

r: vector memory exhausted (limit reached?)
In fread(f, header = TRUE, sep = "\t", stringsAsFactors = FALSE,  :
Previous fread() session was not cleaned up properly. Cleaned up ok at the beginning of this fread() call.
Killed after 1 m


After using the command : GDCprepare(query, save =TRUE , save.filename = "./Processed_Data/Methylation.rda", directory = "./", summarizedExperiment = FALSE)

TCGAbiolinks Methylation GDC data Data prepare • 595 views
0
Entering edit mode

Hi,

In order to make it easier for people to help, you need to provide a minimal, self-contained reproducible example (i.e. minimal code that people can cut-and-paste into a new R session to reproduce the problem) as well as the output of your sessionInfo(). See our Posting Guide for more information.

It looks like TCGAbiolinks::GDCprepare() uses data.table::fread() instead of the standard read.table() to import the data but it would be interesting to compare how a read.table-based implementation of GDCprepare() compares to the current fread-based implementation. I've already seen situations where the use of data.table functionalities is counter-productive vs the use of base functionalities so I would not exclude the possibility that using read.table instead of fread in GDCprepare() reduces its memory usage. Whether it will reduce it enough to solve the "memory exhausted" error on your system is another story.

H.