Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

On Windows platforms, both the R session created by Rserve and Apache Tomcat used by DeployR have default memory limits of 2 GB. To transfer data and perform operations that may require more memory, these defaults can be increased.

Rserve R session memory limit:

To increase the memory available to the R session, add the following to the beginning of R scripts that may create objects too large for 2 GB of RAM:

memory.limit(size=#####)

where ##### is the amount of memory to make available to the R session (in MB) up to the amount of physical memory available.

 

Apache Tomcat POST limit:

Apache Tomcat has a default POST message size limit of 2 GB. If it is necessary to increase this to transfer larger DeployR messages, edit Tomcat's C:\Revolution\DeployR-7.1\Apache_Tomcat\conf\server.xmland add maxPostSize="0" to the Connector stanza as shown below:

<Connector port="7100" protocol="org.apache.coyote.http11.Http11NioProtocol" 
compression="1024"
compressableMimeType="text/html,text/xml,text/json,text/plain,
application/xml,application/json,image/svg+xml"
connectionTimeout="20000"
maxPostSize="0"
redirectPort="7101" />

Restart Apache Tomcat/DeployR.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×