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.