kuwisdelu / Cardinal

Mass spectrometry imaging toolbox
http://www.cardinalmsi.org
36 stars 14 forks source link

Getting "out of memory" error while normalising the raw data (on a machine with 200GB RAM) #4

Closed Ky5595 closed 5 years ago

Ky5595 commented 5 years ago

I have used cardinal for many data sets without getting any errors and it works great every time. From normalising the spectra vectors to performing unsupervised and supervised clustering, Cardinal has it all. But, recently I was processing a data set with ibd file of size 157 GB. These are the two cases I tried -

Cardinal throws "Could not allocate memory" error for the second case. I tried normalising only a subset of pixels at a time and then combining the results but that also didn't work. The object "as.matrix(iData(data))" is around 250 GB in this case and my machine has 200 GB RAM.

Please suggest some way to resolve this. Any help will be appreciated. Thanks again for this great package.

kuwisdelu commented 5 years ago

Since we are discussing this on Google help group and it's not exactly a bug, I'm closing this.