void de.alysis.r.basemodel.connection.BaseConnection.setSendBufferSize long  sbs  )  throws ModelException
 

Sets send buffer size of the Rserve (in bytes) for the current connection.

All responses send by Rserve are stored in the send buffer before transmitting. This means that any objects you want to get from the Rserve need to fit into that buffer. By default the size of the send buffer is 2MB. If you need to receive larger objects from Rserve, you will need to use this function to enlarge the buffer. In order to save memory, you can also reduce the buffer size once it's not used anymore. Currently the buffer size is only limited by the memory available and/or 1GB (whichever is smaller). Current Rserve implementations won't go below buffer sizes of 32kb though. If the specified buffer size results in 'out of memory' on the server, the corresponding error is sent and the connection is terminated.
Note: This command may go away in future versions of Rserve which will use dynamic send buffer allocation.

Parameters:
sbs send buffer size (in bytes) min=32k, max=1GB

Implemented in de.alysis.r.basemodel.connection.BaseConnectionImpl.


Generated on Mon Jun 26 18:45:58 2006 for RSubmit by  doxygen 1.4.6