If you encounter the error “Error: vector memory exhausted (limit reached?)” in Exploratory, please try the following solutions.
Reopen the Project
Closing the project temporarily releases the data cache that was open within that project, which consequently frees up memory.
After reopening the project, please try running the same process again.
You can also check the amount of memory being used within the project. For more details, please refer to the following note:
Change the Maximum Memory Allocation Size for R
You can increase the maximum memory allocation size for R by following the steps below.
If you are using Exploratory version 15.3 or later
You can change the maximum memory size allocated to R from the System Settings.
You can access the System Settings from the project list page.
Alternatively, while a project is open, you can access it by clicking “System Settings” from the project menu in the top-left corner.
Next, in the “General” tab, enter your desired value (in GB) for “Maximum Memory Size for R” based on your machine’s memory capacity.
If left blank, an appropriate value will be automatically set according to your machine’s current memory status.
Note that the upper limit you can set depends on your machine’s physical memory. For example, if you set it to 64GB on a machine that only has 32GB of RAM, the maximum memory size will still be limited to 32GB.
If you are using Exploratory prior to version 15.3
As shown in the image, click the “+” button next to “Scripts” to create a new script.
Make sure that the checkbox for “Load this script when opening the project” is checked.
Enter the following command. In this example, 32GB is set as the new maximum memory size.
Sys.setenv('R_MAX_VSIZE'=32000000000)
Click “Save”.
Please note that the result depends on the specifications of the machine running Exploratory Desktop.
If your machine can only allocate up to 16GB of memory, the maximum memory size will still be limited to 16GB even if you set it to 32GB.



