R-Script Fails for Larger Datasets (Memory Exhausted), but succeeds when not connected to ArcPro and run natively in RStudio without the Bridge.
Error Message: Error: Memory exhausted (limit reached?)
In troubleshooting this, we used the memory.limit() function call to display memory limit allocated for the script to run within. When testing the memory limit from RStudio we get 16000+MB (PC has 16GB RAM), but when running the same check on the memory.limt() function from within ArcPRO with R the memory limit is reading Memory.limt() = 2047MB.
Hence why it is failing as it seems to be working with a different memory limit allocation when used in conjunction with ArcPro? Does this right or are we missing something obvious?