Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 967 Bytes

custom-runtime-r-windows-known-issues.md

File metadata and controls

18 lines (15 loc) · 967 Bytes
author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic
anmunde
anmunde
rothja
04/07/2021
sql
machine-learning-services
include

Known issues

If you're using the R runtime provided as part of SQL Server Machine Learning Services by setting R_HOME to C:\Program Files\Microsoft SQL Server\MSSQL15.<INSTANCE_NAME>\R_SERVICES when you register the language extension, you might run into the following error upon executing any external custom R script with sp_execute_external script.

Error: cons memory exhausted (limit reached?)

To resolve this issue:

  1. Set the environment variable R_NSIZE indicating the number of fixed sized objects (cons cells) to a reasonable value, for example, 200000.
  2. Restart the Launchpad service and retry the execution of the script.