barebones-masterserver icon indicating copy to clipboard operation
barebones-masterserver copied to clipboard

GameServer runs out of memory

Open diegoarx opened this issue 8 years ago • 0 comments

The game server crashed when i restarted a mobile which i had as client with webgl : "(Filename: D:/Unity Projects/WIN56/Assets/Barebones/Barebones/Demos/Common/Scripts/UnetGameRoom.cs Line: 296)

2/28/2018 5:47:23 PM|Fatal|WebSocket.<startReceiving>b__170_2:0|System.IO.IOException: EndRead failure ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.

                         at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00035] in /Users/builduser/buildslave/mono/build/mcs/class/System/System.Net.Sockets/Socket.cs:146 
                         at System.Net.Sockets.Socket.EndReceive (IAsyncResult asyncResult, System.Net.Sockets.SocketError& errorCode) [0x00093] in /Users/builduser/buildslave/mono/build/mcs/class/System/System.Net.Sockets/Socket.cs:2087 
                         at System.Net.Sockets.Socket.EndReceive (IAsyncResult result) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/System/System.Net.Sockets/Socket.cs:2061 
                         at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult ar) [0x00017] in /Users/builduser/buildslave/mono/build/mcs/class/System/System.Net.Sockets/NetworkStream.cs:326 
                         --- End of inner exception stack trace ---
                         at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult ar) [0x0002a] in /Users/builduser/buildslave/mono/build/mcs/class/System/System.Net.Sockets/NetworkStream.cs:328 
                         at WebSocketSharp.Ext+<>c__DisplayClass54_0.<ReadBytesAsync>b__0 (IAsyncResult ar) [0x00000] in <filename unknown>:0 

DynamicHeapAllocator allocation probe 1 failed - Could not get memory for large allocation 4194304. DynamicHeapAllocator allocation probe 2 failed - Could not get memory for large allocation 4194304. DynamicHeapAllocator allocation probe 3 failed - Could not get memory for large allocation 4194304. DynamicHeapAllocator allocation probe 4 failed - Could not get memory for large allocation 4194304. DynamicHeapAllocator out of memory - Could not get memory for large allocation 4194304! Crash!!!"

Line 296 is Logger.Debug("Got peer account info: " + info);

diegoarx avatar Feb 28 '18 17:02 diegoarx