MazamaScience / AirFireModeling

Utilities to ease merging of USFS AirFire model output and monitoring data.
0 stars 0 forks source link

FAQ #31

Open susanmoneill opened 4 years ago

susanmoneill commented 4 years ago

We should have a Frequently Asked Questions (or other name) vignette.


Error: vector memory exhausted (limit reached?)

R has an internal memory limit. This caused problems with running the AirFireModeling::bluesky_toCommonFormat() function because the particular bluesky netcdf file was very large (4.6GB in the particular case). To solve this do: 1) create the .Renviron file in your home directory 2) set the environment variable in .Renviron: R_MAX_VSIZE=150Gb 3) restart Rstudio Note: you may need to play with the value of R_MAX_VSIZE and it might not always be necessary to restart Rstudio as long as you source the .Renviron file and have cleared out any large variables already in memory. This is all specific to a mac.