Update to allow all rx functions to continue reading a data buffer after interruption

Symptoms

Assume that you use an RX function such as rxReadXdf to read a data buffer from a named pipe, but the operation is interrupted—for example, by the rprof function. In this situation, the read operation fails. Additionally, errors that resemble the following are triggered:


Error indoTryCatch(return(expr), name, parentenv, handler) :
message header:expected 80000703 got Failed to allocate4813005498972314624 bytes of memory.Error in doTryCatch(return(expr), name,parentenv, handler) : Failed to allocate4813005498972314624 bytes of memory.


Resolution

Download information

Microsoft R Server (Version 8.0.5) for Linux:

Download Download the package now.

To resolve this issue, follow these steps to apply the fix:

Required files:

  • RevoScaleR_x.x.x.tar.gz.

  • LibRxLink.so.2

  1. Put the required files in a temp directory, where the user who applies the patch has read/write permissions.

  2. Open a command line with elevated permissions. For example, in Linux, launch a terminal, and then use sudo to execute commands.

  3. Uninstall the current RevoScaleR package. In Linux, run the following command: sudo R CMD REMOVE "RevoScaleR"

  4. Stop the BxlServer process and all other R processes. In Linux, either use "kill" or top to stop BxlServer and R.

  5. Install the new package from the RevoScaleR archive. In Linux, run the command: sudo R CMD INSTALL --no-test-load <path/to/dir> /RevoScaleR_8.0.X.tar.gz

  6. Copy the RxLink Library file to your RevoScaleR directory. In Linux, run the command: sudo cp <path/to/dir>/libRxLink.so.2 \ <path/to/R_dir>/library/RevoScaleR/rxLibs/x64/ Note On a standard install, the <path/to/R_dir> placeholder resembles the following:  /usr/lib64/MRO-for-MRS-8.0.X/R-3.2.2/lib64/R

  7. Launch R, and then import a Data Frame to validate that the patch is applied.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Reference

Learn about the terminology Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×