View Single Post
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 07-14-2015 , 05:46   Re: Can reloading(unloading) heavy plugin cause server crash?
Reply With Quote #2

If the plugin weights more than 100 kilograms, this can happen yes

I don't think the amount of data / array has anything to do with it, this would be weird. It's more likely that some extension is causing the crash. For example when you register a callback function in your plugin with some extension and the extension doesn't correctly unregister the callback function on unload, it will probably crash. Make sure to unregister any hooks / callbacks, if the extension provides a way.

A stacktrace from the linux GDB debugger would be helpful in order to exactly determine where is crashes.
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline