ThriftTest server throws OutOfMemoryException after 2 weeks of running idle
---------------------------------------------------------------------------
Key: THRIFT-283
URL: https://issues.apache.org/jira/browse/THRIFT-283
Project: Thrift
Issue Type: Bug
Components: Library (C#)
Environment: ThriftTest server in a CMD prompt on Windows Vista -
library compiled with VS 2008
Reporter: Michael Walsh
Thrift c# compiler compiled with Cygwin,
Thrift c# library compiled with VS 2008
I ran ThriftTest Server and executed the Client against it, but left the server
running for about 2 weeks without touching it and did not run any additional
client tests against it. Within 2 weeks an exception was thrown.
Full output:
C:\cygwin\home\Michael\mainthrift\thrift\test\csharp\ThriftTest\bin\Debug>Thrift
Test.exe server
Starting the server on port 9090...
testVoid()
teststring("Test")
testByte(1)
testI32(-1)
testI64(-34359738368)
testDouble(5.325098235)
testStruct({"Zero", 1, -3, -5})
testNest({1, {"Zero", 1, -3, -5}, 5})
testMap({
0 => -10
,
1 => -9
,
2 => -8
,
3 => -7
,
4 => -6
})
testList({
-2
,
-1
,
0
,
1
,
2
})
testSet({
-2
,
-1
,
0
,
1
,
2
})
testEnum(ONE)
testEnum(TWO)
testEnum(THREE)
testEnum(FIVE)
testEnum(EIGHT)
testTypedef(309858235082523)
testMapMap(1)
testInsanity()
testMulti()
testAsync(1), sleeping...
testAsync finished
Error: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryExcepti
on' was thrown.
at Thrift.Protocol.TBinaryProtocol.ReadStringBody(Int32 size) in C:\cygwin\ho
me\Michael\mainthrift\thrift\lib\csharp\src\Protocol\TBinaryProtocol.cs:line 374
at Thrift.Protocol.TBinaryProtocol.ReadMessageBegin() in C:\cygwin\home\Micha
el\mainthrift\thrift\lib\csharp\src\Protocol\TBinaryProtocol.cs:line 229
at Thrift.Test.ThriftTest.Processor.Process(TProtocol iprot, TProtocol oprot)
at Thrift.Server.TThreadPoolServer.Execute(Object threadContext) in C:\cygwin
\home\Michael\mainthrift\thrift\lib\csharp\src\Server\TThreadPoolServer.cs:line
148
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.