DIANNtoMSstatsFormat - Error: cannot allocate vector of size 1.4 Gb

6 views
Skip to first unread message

Maithreyan Kuppusamy

unread,
Feb 16, 2026, 4:19:55 PM (9 days ago) Feb 16
to MSstats
Hi,

I am running the latest version of MSstatsConvert. I get a " cannot allocate vector size" error.
How can I resolve it?

Here is the code

"diann <- DIANNtoMSstatsFormat( + dianninput, + annotation = annot, + global_qvalue_cutoff = 0.01, + qvalue_cutoff = 0.01, + pg_qvalue_cutoff = 0.01, + useUniquePeptide = TRUE, + removeFewMeasurements = TRUE, + removeOxidationMpeptides = TRUE, + removeProtein_with1Feature = TRUE, + use_log_file = TRUE, + append = FALSE, + verbose = TRUE, + log_file_path = NULL, + MBR = TRUE, + quantificationColumn = "auto")

INFO [2026-02-16 21:25:09] ** Raw data from DIANN imported successfully. Processed 15311479 groups out of 15311479. 100% done. Time elapsed: 1296s. ETA: 0s.. 

Error: cannot allocate vector of size 1.4 Gb"

Thanks,
Maithreyan

Anthony Wu

unread,
Feb 23, 2026, 10:17:55 AM (3 days ago) Feb 23
to MSstats
Hi Maithreyan,

A few questions:
- What is the size of your RAM on your computer in GB?
- What is the size of your dataset in GB?

There might be a problem with an inefficient way of how we handle the new DIANN 2.0 format, but want to confirm it's not a problem with your computer running out of memory.

Thanks,
Tony
Reply all
Reply to author
Forward
0 new messages