I read somewhere that there is a limit on the amount of data that can be stored in a contract. And so there is a limit on how big arrays can be.
Now I am wondering is there a limit on how many mappings a contract can have? And is there a limit on how many events a contract can emit?
I am asking this to understand how a factory contract would store pointers if it had many child contracts.