Skip to content

Commit

Permalink
Add memory limit
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderDevisscher committed Sep 10, 2021
1 parent 761f78e commit f4d0302
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/bul_bul_cm.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ taxonkeys <- c(p_jocosus, p_cafer)
```{r cm, include=FALSE}
zipfile <- "./data/raw/bul_bul_downloads/0013307-210819072339941.zip"
gc(reset = TRUE)
if(memory.limit() <= 80000){
memory.limit(size = as.numeric(80000))
}
if(file.exists(zipfile)){
output <- climate_match(region = "Europe",
taxonkey = taxonkeys,
Expand Down

0 comments on commit f4d0302

Please sign in to comment.