View Single Post
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-30-2015 , 10:43   Re: Socket error (server crash)
Reply With Quote #3

Stack/heap size is 4096 cells (16384 bytes) by default, and you've exceeded that amount with your plugin by allocating more memory on stack than you are allowed to (probably with all those huge arrays you have in your plugin). Try adding
PHP Code:
// 4096 is by default, this adds 2048 cells (8192 bytes) to stack/heap block size
#pragma dynamic 6144 
on top of your code. If the error still occurs, try adding more (8192 for instance), but it shouldn't, I believe.

Last edited by klippy; 06-30-2015 at 10:45.
klippy is offline