Dear all,
I am attempting to run Principal Component Analysis (PCA) in Biodinamica. My input consists of maps with 9 climatic variables (TerraClimate) at a resolution of 30m and dimensions of 7408 rows and 9594 columns. However, when I attempt to run it, the following message appears: "Error caught in R execution: 'cannot allocate vector of size 2.6 Gb'."
Could someone please assist me with this issue? At the end of this email, I have included what is displayed in the Message Log.
Thank you for your assistance.
Best regards,
Beatriz Cabral
Running model script "F:/FAPESP_FAPEAM/Modelagem/inputs/variables/pca/pca_model.egomlx" ... (started at 2023-Oct-24 08:55:25)
Version: 7.5.0, Workers: 11, Granularity: 22, Parallel Functors: Yes, Parallel Steps: No, Parallel Maps: Yes, Memory Allocation: Prefer Memory
Running "Create String" ...
Running "Create Subfolder Python" ...
"Create String" ran successfully (elapsed 0.000 s).
Running "Get Table Value" ...
"Get Table Value" ran successfully (elapsed 0.000 s).
Running "Calculate R Expression" ...
Running "Create String" ...
"Create String" ran successfully (elapsed 0.000 s).
Running "Create String" ...
"Create String" ran successfully (elapsed 0.000 s).
Running "Calculate Python Expression" ...
"Calculate Python Expression" ran successfully (elapsed 0.010 s).
"Create Subfolder Python" ran successfully (elapsed 0.011 s).
"C:/Program Files/Dinamica EGO 7/R/bin/x64/Rscript.exe" "C:/Users/fapeam/AppData/Local/Temp/EGO5E55.tmp_TEMP/EGOTmp_6_.R"
Carregando pacotes exigidos: sp
Please note that rgdal will be retired by the end of 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
rgdal: version: 1.5-25, (SVN revision 1143)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.2.1, released 2020/12/29
Path to GDAL shared files: C:/Program Files/Dinamica EGO 7/Data/GDAL
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 7.2.1, January 1st, 2021, [PJ_VERSION: 721]
Path to PROJ shared files: C:/Program Files/Dinamica EGO 7/R/library/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:1.4-5
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
Overwritten PROJ_LIB was C:/Program Files/Dinamica EGO 7/R/library/rgdal/proj
terra 1.7.55
Attaching package: 'terra'
The following object is masked from 'package:rgdal':
project
[1] "'memory.limit()' is no longer supported"
[1] "'memory.size()' is no longer supported"
"CalculateRExpression": Error caught in R execution: 'não é possível alocar vetor de tamanho 2.6 Gb'.
"Group": Contained "CalculateRExpression" (alias "PCA (Pincipal Component Analysis)") found an error: Error caught in R execution: 'não é possível alocar vetor de tamanho 2.6 Gb'.
Model script: Contained "Group" (alias "group2353596") found an error: Error caught in R execution: 'não é possível alocar vetor de tamanho 2.6 Gb'.
Model script failed to run (finished at 2023-Oct-24 10:23:27, elapsed 5282 s [01h28m02s]).