compiler limit: out of local keys compiling function 'function'
The specified function declares too many local variables to be compiled. Divide the function into two or more functions.