mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 18:58:51 +00:00
04c315946c
This change makes it possible to set a maximum amount of memory that TNonblockingServer will use for all read buffers (combined). If it is exceeded, no new data will be read from clients until memory is freed. The current implementation does a busy wait in the main thread when this happens. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719741 13f79535-47bb-0310-9956-ffa450edef68
3 lines
135 B
Bash
3 lines
135 B
Bash
#!/bin/bash -v
|
|
java -server -Xmx256m -cp thrifttest.jar:../../lib/java/libthrift.jar com.facebook.thrift.test.TestNonblockingServer $*
|