Vector memory exhausted when running flowAI on large samples
0
0
Entering edit mode
crostomily • 0
@crostomily-17042
Last seen 5.6 years ago

I am running flowAI on some flow cytometry data with ~250k events, however I keep getting this error:

Error: vector memory exhausted (limit reached?)

I've looked it up and it's likely something that has changed since R 3.5 with the introduction of the R_MAX_VSIZE environment variable, but when I set R_MAX_VSIZE to something huge (200Gb) before running R freezes and needs a restart. My data isn't long enough to cause this error (26Kb), so it must be an issue with the QC report generated.

Update:

I've rerun flow_auto_qc() suppressing the generation of the html QC report and ran into the same error. I'm at a loss for whats causing this.

 

Any suggestions are appreciated since I'd like to use this tool in the near future. 

> sessionInfo()

R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.5

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] flowAI_1.10.1

loaded via a namespace (and not attached):
 [1] pcaPP_1.9-73        Rcpp_0.12.18        DEoptimR_1.0-8      compiler_3.5.1      pillar_1.3.0       
 [6] RColorBrewer_1.1-2  plyr_1.8.4          bindr_0.1.1         tools_3.5.1         digest_0.6.15      
[11] evaluate_0.11       tibble_1.4.2        gtable_0.2.0        lattice_0.20-35     pkgconfig_2.0.1    
[16] rlang_0.2.1         graph_1.58.0        yaml_2.2.0          parallel_3.5.1      mvtnorm_1.0-8      
[21] bindrcpp_0.2.2      stringr_1.3.1       knitr_1.20          dplyr_0.7.6         cluster_2.0.7-1    
[26] rprojroot_1.3-2     tidyselect_0.2.4    stats4_3.5.1        grid_3.5.1          robustbase_0.93-2  
[31] glue_1.3.0          Biobase_2.40.0      rrcov_1.4-4         R6_2.2.2            rmarkdown_1.10     
[36] reshape2_1.4.3      purrr_0.2.5         ggplot2_3.0.0       corpcor_1.6.9       magrittr_1.5       
[41] backports_1.1.2     htmltools_0.3.6     scales_0.5.0        matrixStats_0.54.0  BiocGenerics_0.26.0
[46] changepoint_2.2.2   assertthat_0.2.0    flowCore_1.46.1     colorspace_1.3-2    labeling_0.3       
[51] stringi_1.2.4       lazyeval_0.2.1      munsell_0.5.0       crayon_1.3.4        zoo_1.8-3      

flowAI • 786 views
ADD COMMENT

Login before adding your answer.

Traffic: 725 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6