You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Michael Walsh (JIRA)" <ji...@apache.org> on 2009/01/23 00:31:59 UTC

[jira] Created: (THRIFT-283) ThriftTest server throws OutOfMemoryException after 2 weeks of running idle

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.


[jira] Closed: (THRIFT-283) ThriftTest server throws OutOfMemoryException after 2 weeks of running idle

Posted by "Michael Walsh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Walsh closed THRIFT-283.
--------------------------------

    Resolution: Cannot Reproduce

I have not been able to reproduce the issue since, and sadly I had no crash dump to analyse either.
I guess it's good to clean up the bugs and re-open in the future if it ever comes to light again.

> 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.


[jira] Commented: (THRIFT-283) ThriftTest server throws OutOfMemoryException after 2 weeks of running idle

Posted by "Michael Greene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725783#action_12725783 ] 

Michael Greene commented on THRIFT-283:
---------------------------------------

I am unable to reproduce this after several attempts with and without a memory profiler attached.  On IRC, Mike reports not seeing this problem again.  Close w/ "Cannot Reproduce"?

> 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.