The ss.max_read_queue_length option specifies the number of individual messages allowed in the message queue. After the value is reached, subsequent messages are buffered in the RTserver until the queue length falls below a message queue threshold. This threshold is calculated as: (the value of ss.max_read_queue_length) multiplied by (the value of ss.min_read_queue_percentage).
The default setting, 0
, allows an unlimited or infinite number of messages in the queue. This is the recommended setting. However, it is possible that if your Java RTclient receives many large messages rapidly, the JVM can run out of memory. Instead of increasing the Java heap size, you can limit the number of messages allowed in the queue by changing this option from 0 to another number. Related options are ss.max_read_queue_size and ss.min_read_queue_percentage. For additional information, see Java-Specific Options on page 117.
TIBCO SmartSockets™ Java Library User’s Guide and Tutorial Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |