Undocumented limitations - which ones do you know?

E.g. I found out following the hard way:

  • functions do have a maximum number of parameters - use arrays if you hit the limit. I don't remember the error anymore (maybe it's invalid symbol)
  • functions do have a maximum number of lines - you will see a stack overflow exception anywhere in the middle of the long function that will mislead you...

I just found out about the second limitation today after refactoring my code to eliminate functions and optimise my WFs size. Anyone knows other exceptions? If I've heard of them I may not spend so much time searching for something that is not there the next time just because of such weird limitations...