Axel Posted January 16, 2016 Share Posted January 16, 2016 I have experienced a strange thing today. Some random dude joins my server, and then it closes instantly with this message in the console: terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Does somebody know what i can do to prevent this from happening? Link to comment
killeryoyo Posted January 18, 2016 Share Posted January 18, 2016 are they the same people or you tried to make another people enter? Link to comment
Mr_Moose Posted January 19, 2016 Share Posted January 19, 2016 Seems like your server is running out of memory, check the Lua code executing during the join event and make sure it's not a memory leak there. Also make sure that your physical server has enough memory, you can find that out running Task manager (Windows) or Top/Htop (Linux) when it happens. If this random dude also has access to runcode somehow that might be the problem as well, check if he's in your ACL file, maybe he's been a member of the staff team previously with admin/dev access. Last option would be to update your server binaries to make sure you got the latest version, get it here: https://nightly.multitheftauto.com/ Link to comment
Axel Posted March 24, 2016 Author Share Posted March 24, 2016 Thanks guys, it helped me alot! It was a memory problem in a script Link to comment
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