Emilio_M Posted June 10, 2014 Share Posted June 10, 2014 Hello all ! There is some memory limit usage for one resource before a server crash ? Thanks to all ! Link to comment
0 MTA Anti-Cheat Team Dutchman101 Posted June 24, 2014 MTA Anti-Cheat Team Share Posted June 24, 2014 Server crashes can happen when you get a Memory exception / aka running out of RAM, now that has to pass your system's capacity or when you have alot of RAM would need high load after a long runtime to make the actual MTA server process unstable (as every process would with certain memory usage) For single resources I think it's hard to get it using so much that it will pass the memory limit resulting in a crash. If you can get a single resource eating that much memory, you can better start thinking it has a memory leak somewhere in the script. Link to comment
0 Arran Posted June 24, 2014 Share Posted June 24, 2014 Well all my scripts are using 369773 KB and one alone is using 77781 KB (lots of stuff in lua tables) you can check in performancebrowser to see each resources memory usage. The average script shouldn't use over 1000KB but if it stores loads of stuff in lua tables or large strings like images and screenshots from players then it will use more. Your debug script will be spammed by "ERROR: Out of memory" before the server might crash (or automatically shut itself down if it's frozen for too long) Link to comment
Question
Emilio_M
Hello all !
There is some memory limit usage for one resource before a server crash ?
Thanks to all !
Link to comment
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now