1. Hey guys.

    So want to find out if anyone has experience this.
    Every 10 seconds rust consumes an extra 1mb of memory. So every minute 6mb, 360mb every hour. I found this out after viewing my task manager and saw that rust was sitting on 17gb memory usage. Could this be because I haven't set limitations or just a bad memory leak?
     
  2. object building doesn't come cheap, try decay buildings quicker and delete corpses quicker, where do you think all the build information is going lol, and just to put it out there the game is in alpha
     
  3. As a popular server the decay plugins and corpse removed is a must right now. Not only do we have limitations in game due to entity issue but we also have the fact that corpses don't respawn.
    At present we are wiping weekly to keep on top of degrading server performance.
     
  4. i can write something up that clears corpses no matter what if its a needs be like a second remover currently rust defaulty removes them after around 22 minutes i believe it was, i can make something that checks when someone dies and identity's the corpse and then will run a cleanup on it after 25 minutes to make sure it actually got deleted cause i noticed sometimes bodies dont disappear
     
  5. pm me once you make it
     
  6. Wulf

    Wulf Community Admin

    There's actually a .cs plugin floating around that clears corpses.
     
  7. im not 100% sure but i think it actually modify's the duration of the time it takes to clean the corpse but on some rare cases corpses don't get deleted, not sure if this is the plugin you ment
     
  8. Wulf

    Wulf Community Admin

    Ahh, that may be. I couldn't recall the exact details.
     
  9. its not just this using r-anticheat will make you use 35% more ram usage as every building block saved in rust is saved in r-amtcheat to, not to mention the constant posistion checks on every player online, correct me if im mistaken it was almost 6 - 7 months ago i helped the developer clean the code abit and clean out some useless built up data that was only needed to be checked once and never cleared

    best thing you can do is try to determine if you get this issue with some other scripts as it all depenends on what functionabilty there doing weather its constantly checking players or just simply storing and iterating through data, unload some see if ram drops ect

    i programmed a lot to do with antihacks back deving gunz in c++, and i know how performance will effect the clients but with this case we are checking for hacks server side means pulling a load more data to process causing more cpu and ram in order to do so as we do not have direct access to modifying the client
     
    Last edited by a moderator: Jul 14, 2015
  10. I have a total of 4 sleepers and 15000 entities. Server isn't busy at all and just a test server. So basically I am the only user logging in and out and not even moving
     
  11. then add image another 100 instances of running each script, but how many corpses do u normally have on main server ?
     
  12. The main server was basically just setup to test my plugin. But I left it running for users if they wanted to use it. But since this is using so much memory without controlling it it might not be worth while. Corpses are 0.