Giter Club home page Giter Club logo

libuv2k_public's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

libuv2k_public's Issues

james' server out of memory after 240 connections

JamesFrowen
:
@vis2k server crashes at ~240 connections

OutOfMemoryException: Out of memory
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
at libuv2k.WriteRequest..ctor () [0x00000] in :0
at libuv2k.TcpStream+<>c.<.cctor>b__72_0 () [0x00000] in :0
at libuv2k.Pool1[T].Take () [0x0000e] in <eb9ed698661e43a493a7da799bacb399>:0 at libuv2k.TcpStream.Send (System.ArraySegment1[T] segment) [0x00036] in :0
at Mirror.libuv2kTransport.ServerSend (System.Int32 connectionId, System.Int32 channelId, System.ArraySegment1[T] segment) [0x00018] in <3ec8af3d200d4011998ac0b02fe3b577>:0 at Mirror.NetworkConnectionToClient.Send (System.ArraySegment1[T] segment, System.Int32 channelId) [0x0005b] in <05786aaf81e545fabc4dd5d60afbc631>:0
at Mirror.NetworkServer.SendToReady[T] (Mirror.NetworkIdentity identity, T msg, System.Boolean includeOwner, System.Int32 channelId) [0x000ad] in <05786aaf81e545fabc4dd5d60afbc631>:0
at Mirror.NetworkIdentity.SendUpdateVarsMessage () [0x0007a] in <05786aaf81e545fabc4dd5d60afbc631>:0
at Mirror.NetworkIdentity.ServerUpdate () [0x00016] in <05786aaf81e545fabc4dd5d60afbc631>:0
at Mirror.NetworkServer.Update () [0x00033] in <05786aaf81e545fabc4dd5d60afbc631>:0
at Mirror.NetworkManager.LateUpdate () [0x00000] in <05786aaf81e545fabc4dd5d60afbc631>:0

jesus' leak when connecting with another transport?

from discord: JesusLuvsYooh
:
Probably not the best of times to mention this (sorry vis) but.
There was a crazy leak in libuv, one time i managed to close server just before i lost the vps, second time i did not.

What i think caused it, was i put another transport on network manager in unity editor, typed in the server ip and clicked connect.

jesus' low client fps and large ram usage

(Client) Frame rate struggled to keep around 30fps, where as on the other transports it was 60fps (capped at 60, could have been higher).
Could be caused by the hosts possible memory leak, fixing that, may fix this?

Ram usage was 1gb more at the 151 client mark, compared to the other transports.
(Ram usage on other transports for 150 clients was under 100mb)
Did not leave on long enough to see if it kept increasing over time, or if its upon clients connecting.

  • This test did not have a client connect with wrong transport like my theory on the other (insane) memory issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.